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




20 jan 2006 kl. 11.25 skrev Russell Edwards:

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.

Change the "Java Compiler Settings" in your target to use 1.5 for
"Target VM Version" and "Source Version". The 1.5 option hasnt been
there before, and i cant tell you when it was introduced. But it is there in
my XCode 2.2.1 installation.


Until the next 1.5 update ships and 1.5 is made the default, you also
have to change the JAVA_COMPILER build setting from /usr/bin/javac
to /System/Library/Frameworks/JavaVM.frameworks/Versions/1.5.0/ Commands/javac.


Clean your project and rebuild.

    /// Isak Styf

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



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.