New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Apps and Games Discussion of applications and games available for Mac OS X.

Using Java SE 6 instead of 5


Post Reply New Thread Subscribe

 
Thread Tools
Jero

 
Member Since: Aug 04, 2007
Posts: 9
Jero is on a distinguished road

Jero is offline
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?
QUOTE Thanks
Discerptor

 
Discerptor's Avatar
 
Member Since: Aug 02, 2005
Posts: 1,229
Discerptor is a name known to allDiscerptor is a name known to allDiscerptor is a name known to allDiscerptor is a name known to allDiscerptor is a name known to allDiscerptor is a name known to allDiscerptor is a name known to all
Mac Specs: 2.6GHz Core i7 15" MacBook Pro - 8GB DDR3 SDRAM - 750GB 7200 RPM HDD - GeForce 650M GT 1GB VRAM

Discerptor is offline
"/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:

Quote:
$ 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)
QUOTE Thanks
Jero

 
Member Since: Aug 04, 2007
Posts: 9
Jero is on a distinguished road

Jero is offline
That worked! Thanks!
QUOTE Thanks

Post Reply New Thread Subscribe


« Classic OSX Games | how can i use entourage instead of Mac Mail? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Headache error (Java) mister_montana Web Design and Hosting 1 03-26-2007 10:33 AM
weird java problem rerks OS X - Apps and Games 0 01-28-2007 05:59 AM
java question rerks OS X - Operating System 0 01-23-2007 03:05 AM
Uninstalling/Reinstalling Java msb86 OS X - Operating System 6 11-09-2006 11:20 AM
Java From Terminal jdgti OS X - Development and Darwin 10 03-26-2005 07:16 PM

All times are GMT -4. The time now is 07:17 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?