Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The official Apple updates only get me up to java version "1.5.0_30". I'm trying to apply the 1.6 update manually from JavaForMacOSX10.5Update6.pkg and it gives me

A newer version of this package is already installed

I tried this:

cd /System/Library/Frameworks/JavaVM.framework/Versions
sudo rm -fr CurrentJDK
sudo ln -s 1.6 CurrentJDK

and no good... How can I get 1.6?

I even looked at this question installed Update 10, and now I have 1.6 and 1.6.0 in /System/Library/Frameworks/JavaVM.framework/Versions and the current folder also has the 1.6 files, but in the java preferences i have only 1.4.2 and J2SE 5.0 (1.5)


UPDATE: It appears 32 bit OSX support only up to 1.5, and ther's no official way to run 1.6 on non- 64 bit...
is there a way around it? I'm trying to run PHPstorm whic requires 1.6

share|improve this question
Also, it's probably a very bad idea to rm and move around stuff there. – slhck Jul 25 '11 at 15:33
Can you check what version you have installed? – soandos Jul 25 '11 at 16:08
@soandos 1.5.0_30 – ilyo Jul 25 '11 at 16:27
Just to get an overview, can you add a ls -l /System/Library/Frameworks/JavaVM.framework/Versions? – slhck Jul 26 '11 at 9:58
And what's more, it has to be 64-bit intel! – SamB Oct 13 '12 at 0:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.