Reputation: 413
What should be the correct location of src.zip in JDK?
Should it be JAVA_HOME/lib/src.zip
?
or
Should it be JAVA_HOME/src.zip
?
Which one is correct?
JDK version - openjdk11
Upvotes: 2
Views: 1977
Reputation: 201537
It depends on the version of Java you are using, with
$JAVA_HOME/lib/src.zip
1$JAVA_HOME/src.zip
1See also Project Jigsaw. More specifically, JEP 201 and JEP 220.
Upvotes: 2
Reputation:
mostly, the JDK source code is named src. zip , and located at the root folder of the JDK installed path.
in your question Java 11, it is $JAVA_HOME/lib/src.zip
and it will be different in other versions. stating the Java version that you are currently using in the question will help you to find a better answer
Upvotes: 0