Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Browsers and Java 1.6 on MacOS 10.5.8

I am trying to load an applet that requires Java 1.6. I am running MacOS 10.5.8 on an Intel machine with all updates installed. Java Preferences shows the following boxes checked:


Java SE 6 64-bit 1.6.0_24-b07-334

J2SE 5.0 32-bit 1.5.0_28-b04

J2SE 5.0 64-bit 1.5.0_28-b04


I went to the Sun Java test site here, and it told me my Java version was J2SE Runtime 5 Update 28.


This page gave instructions for changing Java versions.


Grossman-CP-339-iMac-2:~ Bob$ cd /System/Library/Frameworks/JavaVM.framework/Versions

Grossman-CP-339-iMac-2:Versions Bob$ ls -l

total 64

lrwxr-xr-x 1 root wheel 5 Mar 9 16:31 1.3 -> 1.3.1

drwxr-xr-x 3 root wheel 102 Dec 2 2007 1.3.1

lrwxr-xr-x 1 root wheel 5 Sep 10 2009 1.4 -> 1.4.2

lrwxr-xr-x 1 root wheel 3 Aug 30 2008 1.4.1 -> 1.4

drwxr-xr-x 8 root wheel 272 Aug 30 2008 1.4.2

lrwxr-xr-x 1 root wheel 5 Mar 9 16:31 1.5 -> 1.5.0

drwxr-xr-x 8 root wheel 272 Aug 30 2008 1.5.0

lrwxr-xr-x 1 root wheel 5 Mar 9 16:31 1.6 -> 1.6.0

lrwxr-xr-x 1 root wheel 59 Mar 9 16:31 1.6.0 -> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents

drwxr-xr-x 10 root wheel 340 Mar 9 16:31 A

lrwxr-xr-x 1 root wheel 1 Mar 9 16:31 Current -> A

lrwxr-xr-x 1 root wheel 3 May 18 09:58 CurrentJDK -> 1.5


Grossman-CP-339-iMac-2:Versions Bob$ sudo rm -fr CurrentJDK

Grossman-CP-339-iMac-2:Versions Bob$ sudo ln -s 1.6 CurrentJDK

Grossman-CP-339-iMac-2:Versions Bob$ ls -l

total 64

lrwxr-xr-x 1 root wheel 5 Mar 9 16:31 1.3 -> 1.3.1

drwxr-xr-x 3 root wheel 102 Dec 2 2007 1.3.1

lrwxr-xr-x 1 root wheel 5 Sep 10 2009 1.4 -> 1.4.2

lrwxr-xr-x 1 root wheel 3 Aug 30 2008 1.4.1 -> 1.4

drwxr-xr-x 8 root wheel 272 Aug 30 2008 1.4.2

lrwxr-xr-x 1 root wheel 5 Mar 9 16:31 1.5 -> 1.5.0

drwxr-xr-x 8 root wheel 272 Aug 30 2008 1.5.0

lrwxr-xr-x 1 root wheel 5 Mar 9 16:31 1.6 -> 1.6.0

lrwxr-xr-x 1 root wheel 59 Mar 9 16:31 1.6.0 -> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents

drwxr-xr-x 10 root wheel 340 Mar 9 16:31 A

lrwxr-xr-x 1 root wheel 1 Mar 9 16:31 Current -> A

lrwxr-xr-x 1 root wheel 3 May 18 09:58 CurrentJDK -> 1.6


Grossman-CP-339-iMac-2:Versions Bob$ java -version

java version "1.6.0_24"

Java(TM) SE Runtime Environment (build 1.6.0_24-b07-334-9M3326)

Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02-334, mixed mode)


So the OS is now telling me that the default version of Java is version 1.6.


However, even after restarting my computer, I still can't load the applet, and Sun is still telling me that I am running J2SE Runtime 5.


I see the same symptoms in both Safari 5.0.5 and Firefox 3.6.17.


Is there a way to tell Safari or Firefox to use Java 1.6 on MacOS 10.5.8?

iMac, Mac OS X (10.5.8)

Posted on May 18, 2011 7:30 AM

Reply
2 replies

May 19, 2011 5:21 AM in response to Dave Hamilton

2.26 GHz Intel Core 2 Duo, at least on the machine that I'm using now.


After I posted the message above, I did some more research, and I learned that the MacOS 10.5 browsers are all 32-bit applications (whatever that means), and Java 1.6 for Mac comes only in a 64-bit version, so it won't run in any MacOS 10.5 browsers.


(You apparently have to be a programming expert to figure this stuff out -- the information put out for plain-vanilla users like me doesn't say any of this.)


It seems that Apple has failed to address this problem for years, and the only solution is to upgrade to MacOS 10.6. But I would be happy if someone showed me that I was wrong about that.

Browsers and Java 1.6 on MacOS 10.5.8

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.