The error report is as follows:
Prompt that the Java virtual machine could not be created successfully.
The main reason for the above error is that eclipse can’t find the JDK installed on the machine when it starts (if it doesn’t install, please go to Baidu installation tutorial to install it). At this time, we need to manually guide eclipse to load the JDK path.
Open the eclipse installation path and find the eclipse.ini File, pay attention to open the file suffix display, as shown in the following figure:
Open with Notepad + + and other text editing tools eclipse.ini File:
Add two lines of code out of the rectangular box in the file, pay attention to the path, fill in the bin directory under the JDK installation path of your own machine, save and restart eclipse. This problem can be solved.
Read More:
- Error: could not create the Java virtual machine. Error: a fatal exception has occurred
- Successful solution of eclipse startup error Error:Could not create the Java Virtual Machine Error:A fatal exception has occurred
- Error:Could not create the Java Virtical Machine. Error: A fatal exception has occurred. program
- CMD input Java error could not create the Java virtual machine
- Can not create the Java virtual machine
- Error: could not create the Java virtual machine
- Solve the problem of failed to create the Java virtual machine when eclipse is opened
- When Dbeaver starts on Mac, it reports an error: “fail to create java virtual machine”
- The solution of a Java exception has occurred. And error exception in thread when eclipse runs
- Problem solving: this application cannot run under a virtual machine arcmapr, but you are not using a virtual machine
- Solve the problem that the virtual machine can’t be opened? Tips on VMware Workstation cannot connect to the virtual machine
- A fatal error occurred while trying to Sysprep the machine
- VMware imports an external virtual machine and displays system error: (unknown exception). Wrong solution
- WINDOWS 7 : SYSPREP 3.14 : A FATAL ERROR HAS OCCURRED DURING SYSPREP.(ZZ)
- A new virtual machine cannot be connected to the network (error fetching interface information device not found),
- Install Xen virtual machine using virt-manager
- Error installing OS X virtual machine vcu-0: verify vmcore / VM / main / physmem_ monitor.c:1123
- Putty remote login VMware virtual machine Linux
- (Virtual machine monitor failed and Virtual ethernet failed)
- Eclipse:An error has occurred. See error log for more details. java.lang.NullPointerException