Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: importing QTJ into xCode




On 20-Jan-06, at 8:09 AM, Michael Hall wrote:


On Jan 20, 2006, at 4:25 AM, Russell Edwards wrote:


In an answer to Michael's comments I have a receipt showing that I have installed J2SE5.0 via software update, but I haven't done anything to set it as the default compiler, so if the installer didn't do it then i am still running 1.4.2. If am am still running 1.4.2 then some instructions as to how to swap to 1.5 would be very useful.



/Applications/Utilities/Java/J2SE 5.0/Java Preferences

Don't try and click on the preferred JVM - you have to drag them into order as I remember. And I had to ask on list because I didn't think it was working, so I'm pretty sure I remember.

That's for Web Start and App Bundles requesting "1.4+" It doesn't set the version of java used in the terminal.


To change that you simply have to make sure that the java commands in the Java 1.5 framework are first in the path.

e.g. add this to your path before other folders with java and javac etc.

/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Commands/


Scott _______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: importing QTJ into xCode (From: Greg Guerin <email@hidden>)
 >Re: importing QTJ into xCode (From: Russell Edwards <email@hidden>)
 >Re: importing QTJ into xCode (From: Michael Hall <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.