CMD input JAVA error Could not create the JAVA Virtual Machine, solution
Write this post today, I hope that the students who encounter the following similar problems can refer to my solution to solve quickly, rather than spend a long time like me to explore!
Error message (part 1)
JAVA– CMD input JAVA error prompt: Could not create the JAVA Virtual Machine.
Eclipse — Open error: Fail to create the Java Virtual Machine.
Cause analysis,
because the path path has a Chinese directory or Chinese punctuation, causing Java and eclipse traversal path error. If I type path in CMD, I get something like this :
my error is because path =; D: \ development \ Java \ jdk1.8.0 _151; %JRE_HOME%\ jRE \bin %JRE_HOME%\ jRE \bin %JRE_HOME%\jre\bin %JRE_HOME%\jre\bin %JRE_HOME%\jre\bin
Error message (below)
After the above error is fixed, enter Java in CMD again, the relevant information will appear, as follows:
Version 1.6.0 of the JVM is not suitable for the this product.version :1.8 or greater is required
The current version of the JDK is too low, and Eclipse requires a higher version. The key point is that the version 1.8 is installed on my computer. How can this error still be found?After searching, I have to go to the path of CONFIGURING JDK in Ecipse.ini to find it.
-vm
D:\Program Files\Java\jre1.8.0_121\bin\javaw.exe// add these two lines (of course, the specific address shall be subject to their own address)
Read More:
- Error: could not create the Java virtual machine
- Can not create the Java virtual machine
- Error: could not create the Java virtual machine Error:A Fatal exception has occurred
- Solve the problem of failed to create the Java virtual machine when eclipse is opened
- Error: could not create the Java virtual machine. Error: a fatal exception has occurred
- When Dbeaver starts on Mac, it reports an error: “fail to create java virtual machine”
- Successful solution of eclipse startup error Error:Could not create the Java Virtual Machine Error:A fatal exception has occurred
- Problem solving: this application cannot run under a virtual machine arcmapr, but you are not using a virtual machine
- Error:Could not create the Java Virtical Machine. Error: A fatal exception has occurred. program
- Solve the problem that the virtual machine can’t be opened? Tips on VMware Workstation cannot connect to the virtual machine
- Vscode debug Java console input: evaluation failed because the thread is not suspended
- A new virtual machine cannot be connected to the network (error fetching interface information device not found),
- Install Xen virtual machine using virt-manager
- zookeeper Failed to Startup: Error: JAVA_HOME is not set and java could not be found in PATH
- java.nio.charset.MalformedInputException: Input length = 1
- Windows 7 system, start to run input CMD, the window flashed by, disappeared
- Eclipse can’t open an error: Error:could not find java SE Runtime Environment/Error: could not find java.dll
- Remember that Maven can’t recognize Java_ Home problem error: Java_ HOME is not defined correctly.
- Could not find appears when JDK is configured java.dll Could not find Java se runtime environment problems
- Error report when Hyper-V creates virtual machine