Fix Java 7 installation on Mac
So i installed Sun Oracle JDK 7 on my Mac. I unzipped Eclipse into /Applications. I opened launcher, trying to launch Eclipse from there.
But a dialog box popped up asking me to install Java 6 in order to run Eclipse.
This is in part due to Oracle's missing definitions of the JRE7 VM capabilities.
Then restart Mac, and problem solved.
http://stackoverflow.com/questions/19563766/eclipse-kepler-for-os-x-mavericks-request-java-se-6/19594116#19594116
But a dialog box popped up asking me to install Java 6 in order to run Eclipse.
This is in part due to Oracle's missing definitions of the JRE7 VM capabilities.
Copy the Info.plist located at the path named below to e.g. ~/Downloads/:
/Library/Java/JavaVirtualMachines/jdk.1.7.<…>/Contents/
and then replace
<key>JVMCapabilities</key>
<array>
<string>CommandLine</string>
</array>
with the following:
<key>JVMCapabilities</key>
<array>
<string>JNI</string>
<string>BundledApp</string>
<string>WebStart</string>
<string>Applets</string>
<string>CommandLine</string>
</array>
Then restart Mac, and problem solved.
http://stackoverflow.com/questions/19563766/eclipse-kepler-for-os-x-mavericks-request-java-se-6/19594116#19594116