- Go to http://connect.apple.com and download Java for Mac OS X 10.6 Update 5 Developer Package
- Install it.
- Open a Terminal.app window
- cd /System/Library/Frameworks/JavaVM.framework/Home
- sudo ln -s /Library/Java/JavaVirtualMachines/1.6.0_26-b03-384.jdk/Contents/Home/src.jar .
- sudo ln -s /Library/Java/JavaVirtualMachines/1.6.0_26-b03-384.jdk/Contents/Home/docs.jar .
Wednesday, June 29, 2011
Fix missing source for Java Mac OS X 10.6 Update 5
Once again, Apple does something stupid to us poor idiot Java developers. This will make clicking through to the JDK source work in Eclipse again after updating to the latest Java for Mac OS X.