0
我有Eclipse Neon x64和OS是Windows 10 x64,jdk1.8.0_73。所有工作正常,我更新了日食,現在顯示「無法創建Java虛擬機」。我也設置了JAVA_HOME和Path變量。我嘗試編輯eclipse.ini文件,嘗試更改-Xmx,-Xms,添加-vm ... java路徑..等。但沒有工作。我的eclipse.ini文件是:Eclipse Mars更新錯誤
-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
請給我一些解決方案。
這裏的一些建議:http://stackoverflow.com/questions/7302604/eclipse-error-failed-to-create-the-java-virtual-machine – racraman
感謝您的回覆。在回答問題之前,我嘗試了這篇文章中的建議。 – SudeepShakya
我加了-vm「C:\ Program Files \ Java \ jdk1.8.0_73 \ bin \ javaw.exe」,它工作。以前我沒有在vm路徑中添加「」。 – SudeepShakya