![]() Configure." in your Java Compiler Preferences, most likely your JavaVM file is 1.6 and not 1.5! So if your Java compiler compliance level is 1.5 and you see, "When selecting 1.5 compliance, make sure to have a compatible JRE installed and activated (currently 1.6). What this means is that even if you specify a particular VM to use in your eclipse.ini file by using the "-vm" argument, Eclipse still won't use that VM for launching itself or for compiling files! Passing "1.5" to a 1.6 JavaVM won't make it a 1.5 VM (duh)! When a -vm argument is given, we parse it for the version of java to specify to JavaVM." We use "/System/Library/Frameworks/amework/Versions/Current/JavaVM" as the jvm library. "MacOSX: On the mac we are always launching via the JNI invocation API. Apparently, Eclipse uses the JNI "JavaVM" library to run itself and compile files. I spent a lot of time recently finding out why Eclipse 3.5 (Galileo) on my Mac wouldn't compile Java files using the JDK 1.5 that I installed.
0 Comments
Leave a Reply. |