Taking a bit of a jaunt off into left field from my usual .NET posts...
I was trying to create a Java project under Xcode in Mac OS X 10.4. Strangely, right out of the box the template application project compiled but didn't run. I kept getting a java.lang.UnsupportedClassVersionError.
Seems that after Java 1.5 came to the OS X platform, it gets selected as the default JDK for compilation, but Xcode thinks it's still working with a 1.4 target so it creates a script that starts the app using 1.4.
Once you realize that, it's easy enough to change the settings in the project to fix it. This Apple Q&A explains it in detail.
Friday, June 22, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment