myeclipse8.6启动an error has occurred. See the log file重装也不行

!SESSION 2012-02-24 14:06:49.994 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.osgi 4 0 2012-02-24 14:06:50.561
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

第1个回答  2012-02-25
我这里有2种办法,不知道那种适合你:
1.路径太长,你安装到硬盘跟目录下试一下,因为路径太长的话,有可能读不到.
2.打开myeclipse目录下的myeclipse.ini,编辑JDK路径和启动内存设置如下:
-startup
../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-install
C:/Program Files/Genuitec/MyEclipse 8.5
-vm
C:/Program Files/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll
-configuration
configuration
-vmargs
-Xmx512m
-XX:MaxPermSize=256m
-XX:ReservedCodeCacheSize=64m估计十有八九是myeclipse.ini引起,另外请确认环境变量JAVA_HOME路径是否正确。追问

按照你的做法,变成提示“The Myeclipse executable launcher was unable to locate its commpanion shared library ”

追答

你在myeclipse.ini最后加上
-Dosgi.splashLocation=../Common/plugins/com.genuitec.myeclipse.product8_7.9.100.zmyeclipse80020090924a/splash.bmp
在试一下,应该是配置文件出的错

本回答被提问者采纳
相似回答