java 7 - 当参数 -vm 更改为其他 jdk ,SOS 时,无法启动 MyEclipse 10.7



为什么我不能更改myeclipse 10.7 64位配置文件:myelispse.ini,更改配置参数"-vm"将无法 up.by 启动,我的操作系统是win8 64位,我的JDK工作没有任何问题。

有人可以告诉我原因并帮助我解决问题,非常感谢!

良好的配置就像这样:

#utf8 (do not remove)
#utf8 (do not remove)
-startup
../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_64_4.2.0.v201201111650
-install
G:/Program Files/MyEclipse/MyEclipse 10
-vm
G:/Program Files/MyEclipse/Common/binary/com.sun.java.jdk.win32.x86_64_1.6.0.013/bin/javaw.exe
-vmargs
-Xmn512m
-Xms1024m
-Xmx1024m
-XX:SurvivorRatio=4
-XX:PermSize=256m
-XX:ReservedCodeCacheSize=128m
-Xverify:none
-Xnoclassgc
-XX:+UseParNewGC
-XX:+UseConcMarkSweepGC
-XX:MaxTenuringThreshold=10
-XX:ParallelGCThreads=4
-XX:CMSInitiatingOccupancyFraction=85
-XX:+DisableExplicitGC
-Dosgi.nls.warnings=ignore

配置错误:

#utf8 (do not remove)
#utf8 (do not remove)
-startup
../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_64_4.2.0.v201201111650
-install
G:/Program Files/MyEclipse/MyEclipse 10
-vm
G:/Program Files/Java/jdk1.7.0_09/bin/javaw.exe
-vmargs
-Xmn512m
-Xms1024m
-Xmx1024m
-XX:SurvivorRatio=4
-XX:PermSize=256m
-XX:ReservedCodeCacheSize=128m
-Xverify:none
-Xnoclassgc
-XX:+UseParNewGC
-XX:+UseConcMarkSweepGC
-XX:MaxTenuringThreshold=10
-XX:ParallelGCThreads=4
-XX:CMSInitiatingOccupancyFraction=85
-XX:+DisableExplicitGC
-Dosgi.nls.warnings=ignore

错误日志:

!SESSION 2013-01-26 23:51:39.452 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_09
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Command-line arguments:  -os win32 -ws win32 -arch x86_64
!ENTRY org.eclipse.equinox.app 0 0 2013-01-26 23:51:41.347
!MESSAGE Product com.genuitec.myeclipse.product.ide could not be found.
!ENTRY org.eclipse.osgi 2 0 2013-01-26 23:51:50.086
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-01-26 23:51:50.086
!MESSAGE Bundle reference:file:../Common/plugins/com.genuitec.eclipse.core_10.7.0.me201211011550.jar was not resolved.
!SUBENTRY 2 com.genuitec.eclipse.core 2 0 2013-01-26 23:51:50.087
!MESSAGE Missing host null_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-01-26 23:51:50.087
!MESSAGE Bundle reference:file:../Common/plugins/com.genuitec.eclipse.jniwrapper_9.0.0.me201105051700.jar was not resolved.
!SUBENTRY 2 com.genuitec.eclipse.jniwrapper 2 0 2013-01-26 23:51:50.087
!MESSAGE Missing host null_0.0.0.
!ENTRY org.eclipse.osgi 2 0 2013-01-26 23:51:52.696
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-01-26 23:51:52.696
!MESSAGE Bundle com.genuitec.eclipse.aspphp.core_9.0.0.me201108091322 [1224] was not resolved.
!SUBENTRY 2 com.genuitec.eclipse.aspphp.core 2 0 2013-01-26 23:51:52.696
!MESSAGE Missing required bundle com.genuitec.eclipse.core_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-01-26 23:51:52.696
!MESSAGE Bundle com.genuitec.eclipse.aspphp.ui_9.0.0.me201108091322 [1225] was not resolved.
!SUBENTRY 2 com.genuitec.eclipse.aspphp.ui 2 0 2013-01-26 23:51:52.696
!MESSAGE Missing required bundle com.genuitec.eclipse.core_0.0.0.
!SUBENTRY 2 com.genuitec.eclipse.aspphp.ui 2 0 2013-01-26 23:51:52.696
!MESSAGE Missing required bundle com.genuitec.eclipse.aspphp.core_0.0.0.
!SUBENTRY 2 com.genuitec.eclipse.aspphp.ui 2 0 2013-01-26 23:51:52.696
!MESSAGE Missing required bundle com.genuitec.eclipse.webdesigner3_0.0.0.
!SUBENTRY 2 com.genuitec.eclipse.aspphp.ui 2 0 2013-01-26 23:51:52.696
!MESSAGE Missing required bundle com.genuitec.eclipse.core.common_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-01-26 23:51:52.696
!MESSAGE Bundle com.genuitec.eclipse.ast.deploy.core_10.1.0.me201211011550 [1226] was not resolved.
!SUBENTRY 2 com.genuitec.eclipse.ast.deploy.core 2 0 2013-01-26 23:51:52.696
!MESSAGE Missing required bundle com.genuitec.eclipse.j2eedt.core_0.0.0.
...................so many erorr.........................

>如果以1.7 JDK开头,MyEclipse 10.7 将正常工作。我看不出您的配置有什么问题 - 快速健全性检查,您确定指向的 1.7 VM 是 64 位 VM 吗?您可以通过转到命令行上的 bin 文件夹并键入"java -version"来确认这一点,以查看它是否报告 64 位 VM。

想要

从 1.7 VM 开始有什么具体原因吗?即使您将默认虚拟机参数保留在 ini 文件 (1.6) 中,您仍然可以在 JRE 首选项页面上配置 1.7 JRE/JDK,并在您的应用程序中使用它和/或将其设置为工作区默认 JRE。

相关内容

  • 没有找到相关文章

最新更新