关于myeclipse启动错误的解决方法 com.genuitec.myeclipse.product.ide could not be found

 

(亲测有效)

我的myeclipse安装地址:

E:\MyEclipse 6.5

link文件的写法:path=E:/MyEclipse 6.5/myeclipse


------------------------------------------------------------------------------------------

 


关于myeclipse启动错误的解决方法 com.genuitec.myeclipse.product.ide could not be found

分类: 技术   3507人阅读  评论(7)  收藏  举报

我们在安装新的myeclipse的时候,可以会遇到这样的错误,我在网上搜索了一下:

eclipse.buildId=M20060921-0945 
java.version=1.5.0_08 
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.core.runtime 2007-03-26 17:59:47.750 
!MESSAGE Product com.genuitec.myeclipse.product.ide could not be found. 

!ENTRY org.eclipse.osgi 4 0 2007-03-26 17:59:47.781 
!MESSAGE Application error 
!STACK 1 
java.lang.RuntimeException: No application id has been found. 
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:56) 
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) 
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) 
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) 
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
at java.lang.reflect.Method.invoke(Unknown Source) 
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) 
at org.eclipse.core.launcher.Main.basicRun(Main.java:280) 
at org.eclipse.core.launcher.Main.run(Main.java:977) 
at org.eclipse.core.launcher.Main.main(Main.java:952) 
!SESSION 2007-03-26 21:35:26.609 ----------------------------------------------- 
eclipse.buildId=M20060921-0945 
java.version=1.5.0_08 
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.core.runtime 2007-03-26 21:35:33.515 
!MESSAGE Product com.genuitec.myeclipse.product.ide could not be found. 

!ENTRY org.eclipse.osgi 4 0 2007-03-26 21:35:33.546 
!MESSAGE Application error 
!STACK 1 
java.lang.RuntimeException: No application id has been found. 
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:56) 
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) 
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) 
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) 
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
at java.lang.reflect.Method.invoke(Unknown Source) 
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) 
at org.eclipse.core.launcher.Main.basicRun(Main.java:280) 
at org.eclipse.core.launcher.Main.run(Main.java:977) 
at org.eclipse.core.launcher.Main.main(Main.java:952) 
!SESSION 2007-03-26 22:18:32.531 ----------------------------------------------- 
eclipse.buildId=M20060921-0945 
java.version=1.5.0_08 
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.core.runtime 2007-03-26 22:18:39.375 
!MESSAGE Product com.genuitec.myeclipse.product.ide could not be found. 

!ENTRY org.eclipse.osgi 4 0 2007-03-26 22:18:39.406 
!MESSAGE Application error 
!STACK 1 
java.lang.RuntimeException: No application id has been found. 
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:56) 
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) 
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) 
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) 
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
at java.lang.reflect.Method.invoke(Unknown Source) 
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) 
at org.eclipse.core.launcher.Main.basicRun(Main.java:280) 
at org.eclipse.core.launcher.Main.run(Main.java:977) 
at org.eclipse.core.launcher.Main.main(Main.java:952) 
!SESSION 2007-03-26 22:21:01.468 ----------------------------------------------- 
eclipse.buildId=M20060921-0945 
java.version=1.5.0_06 
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.core.runtime 2007-03-26 22:21:03.312 
!MESSAGE Product com.genuitec.myeclipse.product.ide could not be found. 

!ENTRY org.eclipse.osgi 4 0 2007-03-26 22:21:03.328 
!MESSAGE Application error 
!STACK 1 
java.lang.RuntimeException: No application id has been found. 
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:56) 
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) 
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) 
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) 
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) 
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:585) 
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) 
at org.eclipse.core.launcher.Main.basicRun(Main.java:280) 
at org.eclipse.core.launcher.Main.run(Main.java:977) 
at org.eclipse.core.launcher.Main.main(Main.java:952) 
!SESSION 2007-03-26 22:35:55.125 ----------------------------------------------- 
eclipse.buildId=M20060921-0945 
java.version=1.5.0_06 
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.core.runtime 2007-03-26 22:36:02.609 
!MESSAGE Product com.genuitec.myeclipse.product.ide could not be found. 

!ENTRY org.eclipse.osgi 4 0 2007-03-26 22:36:02.640 
!MESSAGE Application error 
!STACK 1 
java.lang.RuntimeException: No application id has been found. 
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:56) 
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) 
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) 
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) 
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) 
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:585) 
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) 
at org.eclipse.core.launcher.Main.basicRun(Main.java:280) 
at org.eclipse.core.launcher.Main.run(Main.java:977) 
at org.eclipse.core.launcher.Main.main(Main.java:952) 
!SESSION 2007-03-26 22:39:06.750 ----------------------------------------------- 
eclipse.buildId=M20060921-0945 
java.version=1.5.0_06 
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.core.runtime 2007-03-26 22:39:08.093 
!MESSAGE Product com.genuitec.myeclipse.product.ide could not be found. 

!ENTRY org.eclipse.osgi 4 0 2007-03-26 22:39:08.125 
!MESSAGE Application error 
!STACK 1 
java.lang.RuntimeException: No application id has been found. 
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:56) 
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) 
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) 
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) 
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) 
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:585) 
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) 
at org.eclipse.core.launcher.Main.basicRun(Main.java:280) 
at org.eclipse.core.launcher.Main.run(Main.java:977) 
at org.eclipse.core.launcher.Main.main(Main.java:952)

 

网上给出的答案最多的是:

1. 安装路径包含中文。 可惜我开发软件很少用中文目录,没则!

2. 重新下载安装,不求甚解,考虑时间紧迫可以采纳。

3. 请用管理员身份运行, 邪门。 不知道是谁想出来的。

4. jdk运行版本不兼容, 可能。

 

后来我分析了一下啊,我是把其他机器上myeclipse打包拷贝过 而导致启动报错。

 

在进过一番搜索和分析,我们知道myeclipse是eclipse的一个插件大咋会的壳软件。是不是这个壳加载错误,导致了myeclipse的启动错误。

于是我在原来的myeclipse的安装目录下找到原来的eclipse的目录,其下有一个links目录,其中有个链接到myeclipse的外部链接配置文件。

 

现在大家应该明白了吧!

 

对就是这个配置,我打开一看,原来是文件的路径配置错,修改后,保存,启动正常。

 

 

 

 

 

查看评论
7楼  LGbenben 2010-11-18 12:05发表 [回复]
嘿,改成:path=./eclipse
也是可以的。

"./" 代表当前目录,"../"代表上级目录。
6楼  LGbenben 2010-11-18 12:01发表 [回复]
我的
绝对路径 path=d:/ProgramFiles/MyEclipse6.5/myeclipse
改后的相对路径:path=../myeclipse 6.5
后ok了。
5楼  killua0001 2010-10-27 13:57发表 [回复]
正解!
4楼  jackychen_king 2010-04-27 16:34发表 [回复]
晕啊?

找到这个文件没有
com.genuitec.eclipse.MyEclipse.link

里面有个路径配置:
path=d://Program Files//MyEclipse6//myeclipse

请将你的路径配置成绝对路径就ok,相对路径出错,我也不知道是怎么回事!
3楼  Xjbala 2010-04-08 00:26发表 [回复]
要怎么改啊?这是最重要的!
2楼  匿名用户 2010-03-14 18:19发表 [回复]
我也遇到跟 你一样的问题。也同样跟你一样的方法解决了。但是不知道怎么搞的,后来突然又回到原点,报错无法启动。改了link还是无法启动。
还有其他方法吗??? 急!! 如果有任何见解请联系我。qq 175070842! 谢谢了。。。
1楼  whyy0 2009-07-03 16:01发表 [回复]
"原来是文件的路径完全对,修改后,保存,启动正常。" 
那要把这个文件改错吗?怎么改?

 

你可能感兴趣的:(MyEclipse)