I updated my mac to Yosemite 10.10. Now it gives me this error:
To open “Eclipse.app” you need to install the legacy Java SE 6 runtime.
What should I do?
I updated my mac to Yosemite 10.10. Now it gives me this error:
To open “Eclipse.app” you need to install the legacy Java SE 6 runtime.
What should I do?
Java JDK 1.6 is not installed on your computer.
You probably installed Java JDK 1.7 or 1.8 before the Yosemite update.
If you don't want to install JRE6 at all and simply use JRE7 or JRE8 without symlinking it to the JRE6 either you can do the following solution as described by Nikolas Grottendieck here.
We don't need to install JDK1.6. I am repeating my answer to a similar question.
edit Info.plist file, in your jdk, for example:
/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Info.plist
update JVMCapabilities dictionary to have following values:
<key>JVMCapabilities</key>
<array>
<string>CommandLine</string>
<string>JNI</string>
<string>BundledApp</string>
<string>WebStart</string>
<string>Applets</string>
</array>