Wednesday, July 4, 2012

Getting JDK6 for new iMac

I got a new iMac, and I have activated the first time usage of JDK6. It's all working, but it doesn't come with! I googled around but other's solution didn't work for me. (eg: I tried download their Apple JDK updates, but it still doesn't have the

So finally realized that this is easier than it needs to be. You can download the full JDK source here:

After unzip, you should see the src folder under like this:

I've set this in my Eclipse's classes.jar as source folder and it works great.

PS: If you install the JDK7 from Oracle for MacOSX, it does come with the properly. However if you use Eclipse IDE with maven that set target to 1.6, it still convenient to browse that version of the source.

No comments:

Post a Comment