【问题标题】:Eclipse error when program start [duplicate]程序启动时出现Eclipse错误[重复]
【发布时间】:2013-10-31 13:53:00
【问题描述】:

我的 Eclipse 没有启动,它显示这条消息,我已经下载了其他版本,重新安装了 jre。但仍显示该消息。

知道如何解决这个问题吗?

【问题讨论】:

标签: eclipse


【解决方案1】:

您可以尝试在 eclipse.ini 文件中指定正确的 JVM:

-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
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:\Java\JDK\1.5\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx1024m

查看this了解更多信息。

【讨论】:

  • 解决了这个问题:D,谢谢。
【解决方案2】:

您可能需要编辑 eclipse.ini,尤其要注意-vm。那里给出的路径必须指向你的 jre 的javaw.exe

-启动
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
插件/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20130521-0416
-产品
org.eclipse.epp.package.standard.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vm
C:/java/jre7/bin/javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m

【讨论】:

    猜你喜欢
    • 2013-09-18
    • 2011-03-03
    • 2016-07-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多