Eclipse won't start after installing Mac OS X Yosemite (Mac OS 10.10)

后端 未结 8 1058
-上瘾入骨i
-上瘾入骨i 2020-12-24 01:45

Right after upgrading to Mac OS Yosemite (10.10), my Eclipse won\'t start anymore. Instead I get

The JVM shared library /Library/Java/JavaVirtualMachi

相关标签:
8条回答
  • 2020-12-24 01:48

    I solved this issue creating those empties folders as root without downgrade using java8 (vers.1.8.0_60-ea):

    /System/Library/Java/JavaVirtualMachines/1.6.0.jdk and /System/Library/Java/Support/Deploy.bundle

    Hope it helps...

    0 讨论(0)
  • 2020-12-24 01:48

    I installed Java JRE from Oracle: http://download.oracle.com/otn-pub/java/jdk/8u25-b17/jre-8u25-macosx-x64.dmg

    Then install the Apple Package: http://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US

    I was able to install eclipse-ide from homebrew cask

    brew cask install eclipse-ide eclipse-java

    (Please be aware that brew cask installs to ~/Applications not /Applications)

    I don't normally use Eclipse, however I was able to get the IDE up and going. I will note that java on the command line is broken, which is new in Yosimite.

    Please let me know if that doesn't work. Or if you need some help with Homebrew or Cask

    0 讨论(0)
  • 2020-12-24 01:51

    After upgrading to yosemite, java 6 jdk is no longer available, remember that jdk 6 for mac osx is a 32-bit application, older eclipse releases needs a 32-bit jvm in order to run properly, a 32-bit application cannot run with a 64-bit jvm like java 7 or 8, so you need to install jdk 6 to run those java applications that needs a 32 bit virtual machine. As already posted here you can download jdk 6 from http://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US

    0 讨论(0)
  • 2020-12-24 01:59

    Make sure you are using the 64 bit version of Mac Eclipse I just tried it works flawless

    0 讨论(0)
  • 2020-12-24 02:05

    Try this https://jdk8.java.net/download.html Java8u20 early Update.

    0 讨论(0)
  • 2020-12-24 02:07

    Two cases:

    1. if you already have installed Java 8 and Eclipse Luna e.g. on Mavericks and (intent to) update to Yosemite: just update, it will work fine.

    2. if you do not have Java installed and want to run Eclipse on Yosemite:

      • install Apple Java 6 files from http://support.apple.com/kb/DL1572
      • use an Eclipse Version that runs with Java 6, e.g. Kepler from https://www.eclipse.org/downloads/packages/release/Kepler/SR2

    That means, if you want to use Eclipse Luna and Java 8, install it while running Mavericks, then update to Yosemite. Do not try to install Java 8 on Yosemite as that at the moment won't work.

    What does not work on my Mac is: installing Java 6 and run Eclipse Luna as that needs Java 7 or 8. Installing Java 7 or 8 does not solve the prob as something with the installer seems to be buggy. Should be solved by Oracle in a few days, however.

    0 讨论(0)
提交回复
热议问题