Installing Java 6 on Mac OS X
March 30, 2008

As I mentioned previously, installing Woopra on a Mac requires installing the beta of Java 6. Unfortunately, how to get that done may not be terribly obvious to some users (it wasn’t to me, to begin with).
You can find the Java SE 6 beta for OS X at Apple Developer Connection. If you’re not an ADC member, you can log in with your normal Apple login. You’ll be prompted to join ADC Online, but it’s free to do. Once you’ve gotten logged in, go to Downloads, select “Java” on the right hand side of the page, and download the Java SE 6 beta. Note: this is only available for Intel Macs running Tiger or Leopard — if you’ve got a G4 or G5, you’re out of luck right now.
Update 04/29/08 – The update has been released and is no longer available from ADC, but generally available from Apple downloads — see details here.
Once you’ve downloaded and installed the Java beta, there’s another not-terribly-obvious step you have to do. Go to /applications/utilities/java and run the Java Preferences app.
On the General tab, under Java Applet Runtime Settings, select “Java SE 6″. In Java Application Runtime Settings, re-arrange the list of Java versions so that Java SE 6 is the top item (click the image for a full-size picture of the proper settings).
Once you’ve done that, hit “Save”, and you’re good to go for running Java 6 applications. Remember that this is a beta, so use a bit of caution if you’re doing anything mission critical with it.
I installed this so I could install Woopra — if you’re installing Java 6 for OS X, tell us a little bit about why you’re doing so in the comments — I’m sure we’d all love to find more uses for it!




Bummer! Why don’t the PowerPC users get any love? I really wanted to install Woopra on my home machine and see those gorgeous screens on my big widescreen LCD. *pout*
I agree. My oldest son just picked up a 12″ 1.5 GHz Powerbook that I’ve been drooling over — it’d be much easier to pack around than my Macbook Pro, but I just don’t know how much longer there’ll be much support around for them. I’m afraid that the writing is starting to be on the wall.
Chuck, your a life saver man. I’ve been scratching my head for two days on this. I’m new to Mac so after I downloaded and installed Java SE 6, I was a little lost when it didn’t run.
After I made the changes you suggested, everything worked. I’m running a MacBook with the 2 GHz Intel Core 2 Duo.
WordCamp was the best $20 bucks I’ve ever spent. Let me know if you go to any other events in the Dallas area and maybe we can have a coffee.
Glad it helped, Charles! This about drove me nuts when I was installing Woopra — I figured I probably wasn’t the only one that was going to have this problem
WordCamp was great! My allergies were killing me (Texas in the spring hates me), so I wimped out the second day and watched the streaming video on uStream but I’m glad I got to go — lots of good stuff.
We need more things going on in the area, even if it’s only just local informal meetups. I was amazed at the turnout this weekend — back in the version 1.2 – 1.3 days, when Ryan Boran (one of the other major authors on WordPress) was still living in the area, monthly WordPress meetups were lucky to get 4 – 5 people to show up. Of course, there are a whole lot more WordPress users now.
If you hear of anything great going on local let me know, and I’ll do the same!
[...] installing Java 1.6 I found that I couldn’t install Woopra because, I still needed to change the Java preferences on the Mac. Once I did that I installed Woopra without [...]
Thanks for this. Spent a good amount of time trying to figure it out. Might pay for Woopra to add that little tip to their site.
Glad it helped — it was a pretty non-obvious to me too at first…
Thanks, Chuck. I’ve been sitting on this for two weeks because i didn’t understand the activation part.
You the man.
danielthepoet’s last blog post..Twitter Users Will Eventually Privatize
Glad I could help, Daniel!
[...] cliente foi um tormento. Primeiro, o requisito é por um JAVA que ainda está em beta e requer uma receita mágica, ok, talvez não tão mágica para instalar. Não sofri para realizar a instalação, mas isto não [...]
[...] cliente foi um tormento. Primeiro, o requisito é por um JAVA que ainda está em beta e requer uma receita mágica, ok, talvez não tão mágica para instalar. Não sofri para realizar a instalação, mas isto não [...]
[...] were a few problems with using the client on a Mac without the beta Java download, but thanks to Metaphoric Labs its pretty easy to set up so it [...]
Frustratingly, the Java SE 6 isn’t showing up as a downloadable option. I’m on an Intel MacPro with 10.5.2.
Hi John…
I just checked, and you appear to be correct — even though it’s listed on the page I link to, it no longer shows up under “Java” in the downloads section.
I wonder if this might be preparatory to a release version of the SDK coming soon, maybe in conjunction with the runtime in 10.5.3?
In any event, this is way frustrating for anyone who needs it right now.
Ah. This makes sense — it’s available as a non-ADC download now. Still only for Intel machines running Leopard.
Info – Java for Mac OS X 10.5 Update 1 adds support for Java SE 6
Download – Download Page
Note for Woopra users — If you install this, you have to go back into Java Preferences and put Java SE 6 at the top of the list for Java applications again, as described above, otherwise Woopra won’t start. It seems to run fine with it once you do.
Enjoy!
Thanks so much, Chuck. I had just installed Java on VMWare Fusion/Vista because I couldn’t find it for Mac. Happy to have a native-ish solution.
[...] noe som var pyton, da det ikke var intuitivt hvordan java 1.6 settes aktivt i kontrollpanelet. Se denne, hvordan skal jeg vite at man må dra versjonene over hverandre for å sette dem som aktive? I det [...]
Thanks for the write-up, very helpful.
The link for the download seems to have changed.
New Download Page
[...] http://www.metaphoriclabs.com/articles/installing-java-6-on-mac-os-x/ [...]
Installing it to try out OS X support of Talend Open Studio. Thanks for the info. Short of running find, I was having problems finding the installation. Still figuring out Macs….
I first wanted Java 6 so I could compile the source to version 3.0 of the Spring Framework, but really couldn’t find any resources on how to obtain Java 6. I finally had enough when I discovered I couldn’t run a Griffon sample application, and it was suggested to me that I should try upgrading to Java 6,and that’s when I discovered your blog. I also blogged about installing Java 6 at criticalphase.com, but I point to the JDK via the command line.
.-= Kenrick Chien´s last blog ..Installing Java 6 on Mac OS X =-.
Thanks a lot for sharing this info… as you mentioned, it wasn’t terribly obvious!
I needed to install Java 6 to fix this issue with my Netbeans (v6.5.1) which wouldn’t let me create a new (Java EE) project due to the error:
java.lang.NoClassDefFoundError: javax/script/ScriptEngineFactory
Installing Java 6 and changing the netbeans.conf file to point to version 1.6 instead of any previous version solved the issue.
Thanks again!
Thanks a lot! I’m new to apple / mac os, so this is very, very useful info!
Thanks Chuck!
Thnks Chunk!!1 i needed jdk 6 of java for s/w development in my university. Been trying all this time but no luck… i am new to mac too… ur a life saver… thnks again…
The downloads links keep changing. Use the query URL below to get the latest!
http://www.apple.com/search/?q=Java+6&sec=global
Once you’ve downloaded and installed the Java beta, there’s another not-terribly-obvious step you have to do. Go to /applications/utilities/java and run the Java Preferences app.
Judith M. Settles-Java applet´s last [type] ..Utilizing Java Applets To Help You Reach Your Goals For Your Site
Hi, Ive doent that but it still doesnt work, it doessnt come up with java? can u please help me?
Thanks so much!!! just saved my life… amazing the re-arrange thing… are we crazy or what? so well…
So I’ve been downloading and installing java for 2 days and it still won’t work. I tried doing this, and I did everything you said, but my java still won’t work! I don’t understand why, and I’m getting so frustrated. I don’t remember the name of the mac I have, but here is a picture: http://www.mylot.com/w/image/2342225.aspx
Please help. Why won’t it work?
[...] that. And it isn’t very intuitive. Luckily, I know somebody who figured it out and posted instructions on how to install Java 6 on your Mac (provided it’s not an inferior Mac like [...]
can ufix my mc it keeps saying problm with modloader and its crashed im going to paste what it says so if u can go in my account and fix it it would be great plz help me out i reaky love this game and i realy want it to work plz help me my mc name is xNanoBitex if u could help it would be nice thanks or can u reset my accout or minecrat plz it would be nice thanks.
can ufix my mc it keeps saying problm with modloader and its crashed im going to paste what it says so if u can go in my account and fix it it would be great plz help me out i reaky love this game and i realy want it to work plz help me my mc name is xNanoBitex if u could help it would be nice thanks or can u reset my accout or minecrat plz it would be nice thanks can u send this to notch or mojang it would help alot ive been waiting toget this thanks.
this is wat it says after i logi after the mojang symbul Minecraft has crashed!
———————-
Minecraft has stopped running because it encountered a problem; ModLoader has failed to initialize.
A full error report has been saved to /Users/yolanda/Library/Application Support/minecraft/crash-reports/crash-2013-04-06_14.28.30-client.txt – Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash
— BEGIN ERROR REPORT f58b6aad ——–
Full report at:
/Users/yolanda/Library/Application Support/minecraft/crash-reports/crash-2013-04-06_14.28.30-client.txt
Please show that file to Mojang, NOT just this screen!
Generated 4/6/13 2:28 PM
– System Details –
Details:
Minecraft Version: 1.5.1
Operating System: Mac OS X (x86_64) version 10.5.8
Java Version: 1.6.0_26, Apple Inc.
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Apple Inc.
Memory: 501388128 bytes (478 MB) / 534708224 bytes (509 MB) up to 1069416448 bytes (1019 MB)
JVM Flags: 3 total; -Xbootclasspath/a:/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Resources/LauncherSupport.jar -Xms512M -Xmx1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: ModLoader, EntityRendererProxy, BaseMod, …]
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
ModLoader: Mods loaded: 2
ModLoader 1.5.1
mod_TooManyItems 1.4.7 2012-01-09
java.lang.NoSuchFieldError: f
at TMIItemInfo.addItemOffset(TMIItemInfo.java:142)
at TMIItemInfo.(TMIItemInfo.java:147)
at TMIConfig.(TMIConfig.java:43)
at mod_TooManyItems.load(mod_TooManyItems.java:42)
at ModLoader.init(ModLoader.java:742)
at ModLoader.addAllRenderers(ModLoader.java:205)
at bgz.(RenderManager.java:97)
at bgz.(RenderManager.java:14)
at net.minecraft.client.Minecraft.a(SourceFile:261)
at avv.a(SourceFile:56)
at net.minecraft.client.Minecraft.run(SourceFile:507)
at java.lang.Thread.run(Thread.java:680)
— END ERROR REPORT c4e14ae3 ———-
please help its so annoying thank.