Eclipse with Java 7 on Mac OS X Mavericks (2014-03-28)
I updated OS X Mountain Lion to OS X Mavericks. Eclipse Kepler 4.3 did not start.
A dialog appeared.
To Open "java," you need a Java SE 6 runtime. Would you like to install one now?
My machine had Java 7 runtime.
I edited the file.
/Library/Java/JavaVirtualMachines/jdk1.7.<version>.jdk/Contents/Info.plist
I edited the JVMCapabilities element.
Before:
<key>JVMCapabilities</key>
<array>
<string>CommandLine</string>
</array>
After:
<key>JVMCapabilities</key>
<array>
<string>JNI</string>
<string>BundledApp</string>
<string>WebStart</string>
<string>Applets</string>
<string>CommandLine</string>
</array>
I restarted OS X Mavericks. I could start Eclipse Kepler with Java 7 runtime :-)
Posted by NI-Lab. (@nilab)