Fresh Blurbs

Installing JDK5 on Mac OS X

Apple released JDK5 implementation quite some time ago. The installer does not overwrite the default 1.4 installation but rather installs paralelly (good!). It also comes with a tool for switching between 1.4 and 5 JDKs. However that tool does not do crap (bad). We discussed this at TheServerSide when JDK was released and I posted a solution but today I was setting up my new Powerbook and, of course, I did not remember the solution and had no desire to figure it out again.

So, I am posting the solution here, in case I will need it again and maybe it will, also, be useful for folks who do not read TSS but read my blog (LOL), and are interested in Java.

Solution: \ 1) Install JDK5 from Apple \ 2) Follow these steps: \ > cd /System/Library/Frameworks/JavaVM.framework/Versions \ > sudo mv CurrentJDK CurrentJDK-old \ > sudo ln -s 1.5 CurrentJDK

comments powered by Disqus