Results 1 to 3 of 3
  1. #1


    Member Since
    Aug 04, 2007
    Posts
    9
    Using Java SE 6 instead of 5
    I've installed Java SE 6, but when I enter `java -version`, it tells me it's still running SE 5. I know the update doesn't replace SE 5 with 6, but how do I use it?

  2. #2

    Discerptor's Avatar
    Member Since
    Aug 02, 2005
    Posts
    1,229
    Specs:
    2.6GHz Core i7 15" MacBook Pro - 8GB DDR3 SDRAM - 750GB 7200 RPM HDD - GeForce 650M GT 1GB VRAM
    "/Applications/Utilities/Java/Java Preferences.app"

    Execute that, then drag the different Java versions around to rank them by preference. Save changes, quit out of the program, and the deed is done.

    I just verified this myself by making Java 6 my first choice, and here is my output in the Terminal:

    $ 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)

  3. #3


    Member Since
    Aug 04, 2007
    Posts
    9
    That worked! Thanks!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Java for Mac OS X 10.6 Update 17 latest java version?
    By Applet in forum OS X - Operating System
    Replies: 2
    Last Post: 09-12-2014, 03:07 AM
  2. Difference between Java and Java Script?
    By AliOop in forum OS X - Apps and Games
    Replies: 14
    Last Post: 02-25-2013, 09:42 AM
  3. From where should I disable Java (Java preferences or Safari?)
    By dacoolest in forum OS X - Operating System
    Replies: 10
    Last Post: 04-24-2012, 02:43 PM
  4. Taking screenshot with java applet using java robot class not working
    By sagngh8 in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 07-06-2011, 09:53 AM
  5. Java Problem! Java games freezing!!
    By L33t Walrus in forum Apple Desktops
    Replies: 1
    Last Post: 02-28-2010, 03:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •