我讓Eclipse將無法正常啓動,我已經試過兩種方式:的eclipse.ini -vm與環境變量衝突
- 關於Java設置環境變量,並運行和在cmd窗口編譯的罰款。我沒有管理權限和系統路徑有錯誤的Java路徑,但我不能改變它。所以日食會崩潰。
使用-vm選項中的eclipse.ini沒有JAVA_HOME設置,有如下錯誤:
java.lang.RuntimeException: Application "org.eclipse.ui.ide.workbench" could not be found in the registry.
我的eclipse.ini:
`-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
-vm
C:\software\java\jdk_1.7.0_89\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms256m
-Xmx1024m
`
謝謝大家!
什麼版本的Eclipse? Eclipse Neon和Oxygen需要Java 8. –
eclipse neon4.6 – Lumaskcete