The Source for Java Technology Collaboration
User: Password:
Register | Login help    

Search

Online Books:
java.net on MarkMail:


Java 6 for OS X

Comments
Comments are listed in date ascending order (oldest first)

@jeeky: It seems Apple is recommending against changing the default version. However you can do so.. in Applications / Utilities / Java you find a Java Preferences thingymajob. Run that and you can select the preferred Java. You can also find the installed Java's under /System/Library/Frameworks/JavaVM.framework/Versions and as m0thr4 said it's easy to set JAVA_HOME to some subdirectory under there.

Roll on SoyLatte....

I know I'm never satisfied, but unfortunately my home Mac is still a G5, and my wife's is a first-generation Intel MacBook. Thus, since this JDK is for 64-bit Intel Macs only, I still can't use it. Sigh. At least my company gives me a Dell instead so I can get my work done. (Imagine if I'd asked for a Mac... I'd be looking pretty stupid right about now.)

The (completely free) developer preview has been available for months and I've had no problems with it at all. @samkass: If you had asked for a Mac anytime from August 2007 onwards, you would have got a 64-bit Intel Mac. @jeeky: Apple advise that you do not change the default version of Java as it can cause unexpected behaviour with certain applications. There's no need to anyway for Java development purposes - you can simply set JAVA_HOME (or your IDE of choice) to point to the version you need.

Finally! Is there a way to easily change the default version of Java?

I'm on 10.4 and I cant get JDK 1.6???? This is crap! I've got a 10.4 MacBook Pro. I had heard that it was a good Java development environment. NOT!!!!!! Think this is my last MAC.

FWIW we're getting success with getting OpenJDK into Linux distros. It means that over time we'll tend to see the distros bundling up-to-date OpenJDK builds, and we can act as a community to raise effort to cause large parts of the Java ecosystem to be integrated with Linux distros. It could make Linux into a first class platform for Java development. Apple tried to make Mac OS X a first class Java development environment and that's part of why I bought into Mac's. ...but... I too have a 10.4 MBP and mine, even if I upgraded to 10.5, because it's just a CoreDuo not Core2Duo, would not run Java 6. This sux.