Home > Java > JavaBase > body text

Eclipse cannot create java virtual machine

angryTom
Release: 2019-11-12 16:35:48
Original
3089 people have browsed it

Eclipse cannot create java virtual machine

Eclipse cannot create a java virtual machine

Sometimes you will encounter the "Failed to create the Java Virtual Machine" error when starting eclipse. This is a bug in lower versions, as follows Let’s see how to solve it.

Recommended tutorial: java tutorial

##Solution:

Open the eclipse.ini file in the eclipse directory, modify the

–launcher.XXMaxPermSize property, and change its value to 128m

-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
-vm %JAVA_HOME%
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
128m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
Copy after login

Then it can be started successfully.

The above is the detailed content of Eclipse cannot create java virtual machine. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!