How to solve "failed to create the java virtual machine" on Mac? [message #1823811] |
Thu, 02 April 2020 07:58  |
Eclipse User |
|
|
|
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!
|
|
|
|
Powered by
FUDForum. Page generated in 0.11118 seconds