Eclipse Installation on macOS

Eclipse on macOS will not start with Java 14 installed, this is being tracked in Eclipse bug 561273.

Installing Java 8 as well does not help. You need to remove the Java 14 install. You could use the Java 13.0.2 release instead.

Eclipse have determined that the root cause of this issue is a change in Java 14 which is described in this bug report JDK-8238225. The fix for this should be in Java 14.0.1

Update: Eclipse runs fine with Oracle Java 14.0.1 so the issue has been fixed.


I also asked this question which was closed, that's why I answer what I have found out: Eclipse will not install on Mac OS Catalina 10.15.4, saying the above error message

Failed to create the Java Virtual Machine.

Deinstalling jdk and install an older one wouldn't help on its own because Eclipse is refusing to install in the first place (as mentioned above). What I have done:

  • i´ve installed an JDK with boost (you can try several, mine worked with Version 13)
  • I edited the installer:
    1. Download the dmg file
    1. convert the dmg-file with "hdiutil convert /dev/disk3s1 -format UDRW -o devimage"
    1. mount the converted dmg-file with: "hdiutil attach -owners on devimage.dmg -shadow"
    1. Edit the /Volumes/Eclipse/Eclipse.app/Contents/Info.plist: there is a section which is commented and there you can try the jdk version. You have to give the full path to the java executable, for example:

<string>-vm</string><string>/Library/Java/JavaVirtualMachines/jdk-13.0.2.jdk/Contents/Home/bin/java</string>
  • Then my eclipse started from the (already) mounted Eclipse image without complaining