Prompt for error error:could not create the Java Virtual Machine when you start eclipse. Error:a Fatal Exception has Occurred__java

Source: Internet
Author: User
Tags win32

Mine is the Neon3 version.

The solution is:

First check the two options to see the full file name of the Eclipse.ini. Then, use Notepad and other tools to open the edit.

The original version of the inside is like this:

-startup
plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar
--launcher.library
C:/ users/scc/.p2/pool/plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.401.v20161122-1740
-product
org.eclipse.epp.package.jee.product
--launcher.defaultaction
openfile
-VM//
D:\IDE\java\ bin//these two lines need to be added in to represent the location of your JVM. The new version does not have this configuration, you need to manually add your own JVM
-showsplash
org.eclipse.platform
--launcher.appendvmargs
-vmargs
-dosgi.requiredjavaversion=1.8
-xx:+useg1gc
-xx:+usestringdeduplication
- dosgi.requiredjavaversion=1.8
-xms256m
-xmx1024m  //Add this is the virtual machine memory option size
- declipse.p2.max.threads=10
-doomph.update.url=http://download.eclipse.org/oomph/updates/milestone/latest
-doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/

The configuration file can be modified to run successfully Eclipse Neon3 welcome comments.

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.