关于Myeclipse 8.0升级到8.5后不能启动的问题

错误日志如下:

!SESSION 2012-05-04 09:01:05.725 ----------------------------------------------- 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.equinox.app 0 0 2012-05-04 09:01:13.068 !MESSAGE Product com.genuitec.myeclipse.product85.ide could not be found.

!ENTRY org.eclipse.equinox.p2.repository 4 0 2012-05-04 09:01:15.491 !MESSAGE ProvisioningEventBus could not be obtained. Metadata caches may not be cleaned up properly.

!ENTRY org.eclipse.osgi 4 0 2012-05-04 09:01:25.908 !MESSAGE Application error !STACK 1 java.lang.RuntimeException: No application id has been found. at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:236) at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) 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)

 

解决方法:

修改Myeclipse安装目录下的configuration下单config.ini配置文件

eclipse.product=com.genuitec.myeclipse.product85.ide osgi.splashPath=platform\:/base/plugins/com.genuitec.myeclipse.product85

改成

eclipse.product=com.genuitec.myeclipse.product8.ide osgi.splashPath=platform\:/base/plugins/com.genuitec.myeclipse.product8

 

在网上查找解决方法的时候,有点人刚好是倒过来的

eclipse.product=com.genuitec.myeclipse.product8.ide osgi.splashPath=platform\:/base/plugins/com.genuitec.myeclipse.product8

换成

eclipse.product=com.genuitec.myeclipse.product85.ide osgi.splashPath=platform\:/base/plugins/com.genuitec.myeclipse.product85

 

修改完成后,重新打开Myeclipse搞定!

posted @ 2012-10-29 17:03  地瓜(icefrozen)  阅读(256)  评论(0编辑  收藏  举报