In Windows, there is ( was a ) src.jar
file that contains the java source files of the Java platform.
Is there something similar for Java 1.6 in OSX? I would like to specify this to my IDE so I can navigate to that source.
In Windows, there is ( was a ) src.jar
file that contains the java source files of the Java platform.
Is there something similar for Java 1.6 in OSX? I would like to specify this to my IDE so I can navigate to that source.
The website http://java.sun.com/javase/6/webnotes/README.html discusses the source code. The JDK which contains src.jar can be downloaded from http://java.sun.com/javase/downloads/index.jsp
According to this blog post you may have to install them seperately.
On my system src.jar is in /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
It may† be worth the effort to register. Navigation is straight out of El Laberinto del Fauno; but if you can find Dev Center
> Mac
> Developer Downloads
> Java
, there are developer updates that include material not found in Software Update.
Addendum: I'd stay away from the pre-release bundles, unless you're trying to solve a particular problem. The documentation bundles are convenient, though.
† Twenty-nine years as an Apple Developer, and it's still a hassle.