Java Virtual machine Launcher error:could not create the Java virtual machine. Error:a Fatal Exception has occurred,program would exit.

Source: Internet
Author: User

Error:could not create the Java Virtual machine.error:a Fatal exception have occurred,program would exit.

The above error message appears as shown in:

Then click OK to eject the following error message

Workaround:

1, determine whether the machine installed the Java environment. Specific methods online Search, here or give small white a portal: (set)

Note Set your own environment variables: such as Java_home,classpath,path

2, some programs will have memory settings, some programs memory settings too large, more than the scope of the virtual machine will be error.

3, look at the C:\Windows\System32 generated Java.exe, Javaw.exe, javaws.exe this 3 caused; just remove the 3 running files and try it out.

After the investigation, I was caused by this reason, so, remove, reopen on it can be

4. Display the definition parameter in the environment variable to set the virtual machine size.

Global environment variable name: _java_options
Variable Value:-xmx512m

Reprinted from: http://blog.csdn.net/zp357252539/article/details/52278882

Java Virtual machine Launcher error:could not create the Java virtual machine. Error:a Fatal Exception has occurred,program would exit.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.