Eclipse requires legacy Java SE 6

I upgraded my mac to Yosemite 10.10. Now he gives me this error:

To open "Eclipse.app" you need to install the legacy Java SE 6 runtime.

What should I do?

+4
source share
2 answers

Java JDK 1.6 is not installed on your computer.

You probably installed Java JDK 1.7 or 1.8 before upgrading Yosemite.

If you don’t want to install JRE6 at all and just use JRE7 or JRE8 without reference to JRE6, you can make the following solution described by Nicholas Grottendek here .

+5
source

We do not need to install JDK1.6. I repeat my answer to a similar question .

edit the Info.plist file in your jdk, for example:

/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Info.plist

JVMCapabilities, :

          <key>JVMCapabilities</key>
            <array>
                    <string>CommandLine</string>
                    <string>JNI</string>
                    <string>BundledApp</string>
                    <string>WebStart</string>
                    <string>Applets</string>
            </array>
0

All Articles