Home  >  Article  >  I want to know the location of Java 9 src.zip

I want to know the location of Java 9 src.zip

王林
王林forward
2024-02-09 10:33:091083browse

The src.zip file of Java 9 is a compressed file used to store the Java Development Kit (JDK) source code. PHP Editor Strawberry will provide you with the location of the src.zip file. Prior to Java 9, the src.zip file was located in the root directory of the JDK installation directory. However, starting with Java 9, Oracle decided to no longer provide the src.zip file and instead put the source code in a separate OpenJDK repository. So, if you want to get the source code of Java 9, you need to visit the official website of OpenJDK, download and install the source code from there. This way, you can browse and debug Java 9 source code through an IDE or other development tools.

Question content

Does anyone know where the src.zip of Java 9 is? For versions 7 and 8, it's in the linux tar, not the windows zip, but I've checked all linux tars and it's not there.

Workaround

As mentioned in one of the comments, src.zip is now located in the lib directory. For more information about this, see the JDK 9 Release Notes and JEP 220.

The above is the detailed content of I want to know the location of Java 9 src.zip. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:stackoverflow.com. If there is any infringement, please contact admin@php.cn delete