Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » How to solve "failed to create the java virtual machine" on Mac?("failed to create the java virtual machine", new commer)
How to solve "failed to create the java virtual machine" on Mac? [message #1823811] Thu, 02 April 2020 11:58 Go to next message
Ziyue Song is currently offline Ziyue SongFriend
Messages: 1
Registered: April 2020
Junior Member
I have finished the Java environment setting in the termination. However, when I tried to open eclipse, it keeps showing me "failed to create the java virtual machine"

My Mac version is 10.15.4. I downloaded the most recent version of eclipse. I downloaded the jdk-14_osx-s64 version of Java JDK. The


Here is the text in eclipse-inst.ini:
-startup
../Eclipse/plugins/org.eclipse.equinox.launcher_1.5.700.v20200207-2156.jar
--launcher.library
../Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.1100.v20190907-0426
--launcher.defaultAction
openFile
--launcher.appendVmargs
--launcher.XXMaxPermSize
256M
-name
Eclipse Installer
-data
@noDefault
-vmargs
-Xms256M
-Xmx1024M
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts

Here is the termination:
------------------------------------$ java -version
java version "14" 2020-03-17
Java(TM) SE Runtime Environment (build 14+36-1461)
Java HotSpot(TM) 64-Bit Server VM (build 14+36-1461, mixed mode, sharing)
------------------------------------ echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home
(---- are to block my name of Macbook)

Would anyone help me to solve the problem? I appreciate the time and effort that anyone want to help me! And stay safe!
Re: How to solve "failed to create the java virtual machine" on Mac? [message #1823826 is a reply to message #1823811] Thu, 02 April 2020 16:35 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33263
Registered: July 2009
Senior Member
See this Bug:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=559482

It looks like while you might have Java 8 installed, it's Java 14 that's being used. That version has a problem as described in the Bugzilla.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:ESP-IDF Plugin
Next Topic:BIRT Reports - Excell Spreadsheet Multiple Worksheets
Goto Forum:
  


Current Time: Thu Dec 12 08:49:51 GMT 2024

Powered by FUDForum. Page generated in 0.07732 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top