To open “Eclipse” you need to install the legacy Java SE 6 runtime

前端 未结 7 2088
终归单人心
终归单人心 2021-01-30 12:57

Just installed a fresh version of Kepler 64bit \"for Java Developers\" on Yosemite, getting this error on first launch. Any thoughts on how to fix? Really do not want to downgra

7条回答
  •  走了就别回头了
    2021-01-30 13:16

    tldr; This error may indicate you don't have Java, and you can fix by installing the latest version of Java instead of the "legacy" version


    I received this error while installing Eclipse on a fresh MacBook with macOS Sierra, version 10.12.3, which apparently does not have ANY java installed. I made the problem go away by installing java version 1.8 JDK and then had no trouble installing Eclipse after.

    i.e. before installing

    MacBook-Pro:$ java -version
    No Java runtime present, requesting install.
    

    and after installing

    MacBook-Pro:$ java -version
    java version "1.8.0_121"
    Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
    Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
    

提交回复
热议问题