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