Cool... You can download the source here: jdk-6u23-fcs-bin-b05-jrl-12_nov_2010.jar<http://www.java.net/download/jdk6/6u23/promoted/b05/jdk-6u23-fcs-bin-b05-jrl-12_nov_2010.jar>
<http://www.java.net/download/jdk6/6u23/promoted/b05/jdk-6u23-fcs-bin-b05-jrl-12_nov_2010.jar>This is a java app that you double click to run and it will install the source to a directory you choose. I put it in /Developer/Documentation/Java/src Then in eclipse you go to Preferences -> Installed JREs -> Edit. Select classes.jar and press "Source Attachment" and enter the path as /Developer/Documentation/Java/src/Java/j2se/src/share/classes This enables javadoc too. And since it's available offline it's even better. John On Fri, Apr 22, 2011 at 8:19 AM, David Avendasora <[email protected] > wrote: > > On Apr 22, 2011, at 8:33 AM, David Avendasora wrote: > > > Also, while you are there, you can point the Source attachment property > to: > > > > > /Library/Java/JavaVirtualMachines/1.6.0_22-b04-307.jdk/contents/home/src.jar > > > > And when you open the definition, you'll get the actual Java Source Code > instead of either a no-source available, or decompiled version. Very handy! > (but will break/be inaccurate when a new version of the JDK is released...) > > Apparently I spoke too soon. That is a developer release of the JDK and it > is older than the one that is active by default. After restarting eclipse, > mine went back to showing the decompiled source instead of the contents of > the src.jar file. > > Dave _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com > > This email sent to [email protected] >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
