Miles to go …

April 30, 2008

OSX #8: Java SE 6 U5 on Mac OS X Leopard

Filed under: General — arungupta @ 12:00 pm

Yesterday, Apple released Java SE version 1.6.0_05 for 64-bit Intel-based Mac OS X 10.5.2 or later. Download it here!

It’s restricted to 64-bit machines and Charles is unhappy about it. Hopefully, they’ll release a 32-bit version as well.

Type “sw_vers” in a terminal to check the Mac OS X version as shown below:

~ >sw_vers
ProductName:    Mac OS X
ProductVersion: 10.5.2
BuildVersion:   9C31

Alternatively, “About This Mac” in the Apple menu shows you the version as well as shown below:

Anyway, after verifying the system requirements, download 57MB bundle and install it following the standard instructions.


And now successfully installed:

It gets installed in “/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0″ and shows the version number as:

/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin >./java -version
java version “1.6.0_05″
Java(TM) SE Runtime Environment (build 1.6.0_05-b13-120)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_05-b13-52, mixed mode)

The default Java version can be changed by using “Java Preferences” as shown below:

/Applications/Utilities/Java Preferences.app/Contents/MacOS >./”Java Preferences”

The following window shows up:

Pick the version of your choice and that should get you going!

These are the days before JavaOne and all my demos on this machine have been tested using the default J2SE 5. But I’ll play with the new release after JavaOne anyway :)

Do you know sign up for GlassFish Day is FREE and gives you access to JavaOne pavilion as well ? Do it now!

A complete archive of all Mac OS X tips on this blog are available here.

Technorati: osxtips mac leopard javase6 javase jdk

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • email
  • StumbleUpon
  • Technorati
  • Twitter
  • Slashdot
Related posts:
  1. TOTD #67: How to front-end a GlassFish Cluster with Apache + mod_jk on Mac OSX Leopard ?
  2. Java SE 6 Update 4 is released – “Good Riddance” with JAX-WS Endorsed
  3. Java EE 6 Twitter Demo @ JavaOne 2010 Technical General Session Keynote
  4. TOTD #149: How to clean IntelliJ cache, preferences, etc on Mac OS X ?
  5. TOTD #101: Applying Servlet 3.0/Java EE 6 “web-fragment.xml” to Lift – Deploy on GlassFish v3

1 Comment »

  1. It’s 64-bit only, and x86-only. It doesn’t even work with applets in Safari, and it’s already causing problems with some Sun interal apps. What a lame effort from Apple.

    Comment by Anonymous — May 1, 2008 @ 3:54 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.
Powered by WordPress