Skip to content

Instantly share code, notes, and snippets.

@rponte
Created March 22, 2011 12:59
Show Gist options
  • Save rponte/881174 to your computer and use it in GitHub Desktop.
Save rponte/881174 to your computer and use it in GitHub Desktop.
set java source on MacOSX
# go to jdk1.6's home
cd /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
# check your correct java version installed before running this command
sudo ln -s /Library/Java/JavaVirtualMachines/1.6.0_22-b04-314.jdk/Contents/Home/src.jar src.jar
# now your Eclipse IDE can find and define both the source and doc for its jvm, yupi! ;-)
@rponte
Copy link
Author

rponte commented Mar 13, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment