What more can man do to try and get a mac to use 1.6? System/Library/Frameworks/amework/Versions/CurrentJDKīut now when I try and launch eclipse, I get: Version 1.5.0_24 of the JVM is not suitable for this product. I found that you could indeed edit the eclipse.ini if you hold down the control key and right click on eclipse.app. Help->install new sw->already installed->Configuration shows this: eclipse.vm=/System/Library/Frameworks/ameworkĮclipse.vmargs=-Dosgi.requiredJavaVersion=1.5 I suspect that the problem is that eclipse is running 1.5 VM, but there seems to be no way to change that or test if it is the case. Mind you, it gave that even when "CurrentJDK" was pointing to 1.5. If I untick any of the J2SE 5.0 ones, eclipse wont start, even though CurrentJava is set to 1.6. In the Java Preferences app (which takes minutes to load), I have to have the following ticked: Java SE 6 64-bit I cant find any "eclipse.ini" or similar where you can hard wire the java version, which I had to do on XP to use 1.6. If I try any other combination of java versions, eclipse wont start. class fileĪt 1(Native Method)Īt (ClassLoader.java:676)Īt .(DefaultClassLoader.java:188)Īt .(ClasspathManager.java:580)Īt .(ClasspathManager.java:550)Īt .(ClasspathManager.java:481) ![]() ![]() It gives this error when you try and run any tests: Plug-in was unable to load class .TestNGSuiteLaunchShortcut. ![]() Now eclipse, and mvn work, with 1.6 set as the target everywhere.īut the testNG eclipse plugin does not work. To get latest Helios eclipse + subclipse + m2eclipse and mvn to work on the mac, I had to make the "default" jdk 1.6 thusly: cd /System/Library/Frameworks/amework/VersionsĪND I had to enable 1.6 using the applications/utilities/java preferences app.
0 Comments
Leave a Reply. |