Jun 07

Installing Java 1.6 on OSX

It seems Apple has been lagging behind releasing a general update for Java for OSX Tiger. Rumour has it that Leopard will include java 1.6, however some people need it now. The good news is that it can be installed on Tiger now with the following steps.

1. Go to connect.apple.com, and register/log in. You will need an account to do this.
2. Go to the downloads section and select “Java” on the right hand side menu
3. Download “Java SE 6.0 Release 1 DP6 (Disk Image)”
4. Once downlaod is complete, and launch the installer
5. Complete the steps in the installer
6. Launch Terminal, and issue these commands:

    # cd /System/Library/Frameworks/JavaVM.framework/Versions
    # sudo rm CurrentJDK
    (enter your password)
    # sudo ln -s 1.6 CurrentJDK

This will set Java 1.6 to be your default java installation.

6 comments

2 pings

Skip to comment form

    • guijoss on May 9, 2008 at 3:16 am
    • Reply

    Hi,
    i tried to follow the steps but when i launch the installer it says : “This volume contains a newer version of java.”, and then close …
    My specs : Alubook 1,25 ppc tiger 10.4.11
    Please, thanks a lot for your help !
    Regards,

    GJ

  1. Java 1.6 is now available via Software Update. You should use that instead of this older beta. Chances are, from the error message you told me, you already have Java 1.6 installed.

    • David Portabella on October 29, 2008 at 8:39 pm
    • Reply

    Now it is easier.
    You can select the java version you want to use from here:
    /Applications/Utilities/Java/Java Preferences

    • Aaron on May 8, 2009 at 5:25 am
    • Reply

    hi,
    I had the same problem as guijoss and i tried sofwatre update but things that require java 1.6 is still not working.

    • K W on February 2, 2010 at 7:33 pm
    • Reply

    Java 1.6 is not available for OSx 10.4, you either have to upgrade to mac os x 10.5 or find a patch somehow…I am trying to find a patch… Soy Latte might be a possibility

    • Rebecca on May 5, 2010 at 5:16 pm
    • Reply

    As an addon to David’s suggestion above, you may need to turn java 5 off to get java 6 working as the default.

    By default the apple update installer doesn’t turn off 5.

    You can select the java version you want to use from here:
    /Applications/Utilities/Java/Java Preferences

    from the terminal java -version will let you know which is running by default.

  1. […] | #3 patrzyłeś na to Installing Java 1.6 on OSX at Steve’s Blog ?? Komputer: MacBook 1.86 C2D/1GB/120GB & iMac Alu 20” & PD/1GB/GF7 & Nintendo Wii […]

  2. […] 1. Go to connect.apple.com, and register/log in. You will need an account to do this. 2. Go to the downloads section and select “Java” on the right hand side menu 3. Download “Java SE 6.0 Release 1 DP6 (Disk Image)” 4. Once downlaod is complete, and launch the installer 5. Complete the steps in the installer 6. Launch Terminal, and issue these commands: # cd /System/Library/Frameworks/JavaVM.framework/Versions # sudo rm CurrentJDK (enter your password) # sudo ln -s 1.6 CurrentJDK This will set Java 1.6 to be your default java installation. source:Installing Java 1.6 on OSX at Steve’s Blog […]

Leave a Reply

Your email address will not be published.