简体   繁体   中英

Eclipse Mars update error

I have Eclipse Neon x64 and OS is Windows 10 x64, jdk1.8.0_73. All was working fine, and I updated the eclipse and now "Failed to create Java Virtual Machine" is displayed. I have set JAVA_HOME and Path variable too. I tried editing the eclipse.ini file, did tried changing -Xmx,-Xms, adding -vm ...java path.. etc .But didn't work. My eclipse.ini file is :

-startup
plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.400.v20160518-1444
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-javaagent:E:\Eclipse Neon\eclipse\plugins\com.zeroturnaround.eclipse.optimizer.plugin_1.0.11/agent/eclipse-optimizer-agent.jar
-server
-XX:PermSize=256m
-XX:MaxPermSize=512m
-XX:+UseParallelGC
-Dosgi.requiredJavaVersion=1.8
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m

Please suggest me some solutions.

我在-vmargs行之前在eclipse.ini中添加了-vm“ C:\\ Program Files \\ Java \\ jdk1.8.0_73 \\ bin \\ javaw.exe”,您需要删除或注释掉-vmargs才行。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM