Join the DZone community and get the full member experience.Join For Free
To get JDK 7 up,
After you installed Java 7 remember to change the version number to 10.6.8 again. Oracle releases JDK 7 preview SPONSORED BY Advertiser Name Here Sponsored item title goes here as designed Mac OS X: Make Snow Leopard (and Apple's other cats) roar like Lion.
Surgery required. So, I headed over to:
This is where the system jvm's are stored. You'll notice a symbolic link for CurrentJDK. It probably points to:
You're going to want to point that to the new JDK, which java_home tells us is located in:
So, the magic commands you need are:
Then, you should be good:
Published at DZone with permission of Brian O' Neill, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.