重装系统后,拷贝的eclipse无法打开,报路径错误!

版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/sgl520lxl/article/details/53080214



报错如图所示:




解决办法:

找到eclipse的安装目录的eclipse.ini  配置文件




-vmargs  前面添加

-vm
D:/develop/java/jdk1.8.0_45/jre/bin/javaw.exe

后面是你的jdk安装目录里面的jre/bin/javaw.exe

然后保存再重启eclipse,完美解决!


展开阅读全文

eclipse无法打开,报.log的错误,求助!!!

12-09

新下载了一个JBossIDE-2.0.0.ALPHA-Bundle-win32,但是打开的时候报错rn[img=https://img-bbs.csdn.net/upload/201312/09/1386573990_917387.png][/img]rn然后打开.log文件显示如下:(求助 )rnrn[code=java]!SESSION 2013-12-09 15:22:07.925 -----------------------------------------------rneclipse.buildId=I20060602-1317rnjava.version=1.7.0_15rnjava.vendor=Oracle CorporationrnBootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CNrnCommand-line arguments: -os win32 -ws win32 -arch x86rnrn!ENTRY system.bundle 4 0 2013-12-09 15:22:08.552rn!MESSAGE FrameworkEvent.ERRORrn!STACK 0rnorg.osgi.framework.BundleException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle system.bundle.rn at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1014)rn at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:970)rn at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:549)rn at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:484)rn at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)rn at org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(StartLevelManager.java:245)rn at org.eclipse.osgi.framework.internal.core.SystemBundle.resume(SystemBundle.java:155)rn at org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:503)rn at org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:289)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:173)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:601)rn at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)rn at org.eclipse.core.launcher.Main.basicRun(Main.java:280)rn at org.eclipse.core.launcher.Main.run(Main.java:977)rn at org.eclipse.core.launcher.Main.main(Main.java:952)rnCaused by: java.lang.IllegalStateExceptionrn at org.eclipse.osgi.internal.baseadaptor.BaseStorage.checkSystemState(BaseStorage.java:654)rn at org.eclipse.osgi.internal.baseadaptor.BaseStorage.getStateManager(BaseStorage.java:634)rn at org.eclipse.osgi.baseadaptor.BaseAdaptor.getPlatformAdmin(BaseAdaptor.java:385)rn at org.eclipse.core.runtime.internal.adaptor.EclipseAdaptorHook.frameworkStart(EclipseAdaptorHook.java:80)rn at org.eclipse.osgi.baseadaptor.BaseAdaptor.frameworkStart(BaseAdaptor.java:260)rn at org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start(SystemBundleActivator.java:55)rn at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:995)rn at java.security.AccessController.doPrivileged(Native Method)rn at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:989)rn ... 18 morernRoot exception:rnjava.lang.IllegalStateExceptionrn at org.eclipse.osgi.internal.baseadaptor.BaseStorage.checkSystemState(BaseStorage.java:654)rn at org.eclipse.osgi.internal.baseadaptor.BaseStorage.getStateManager(BaseStorage.java:634)rn at org.eclipse.osgi.baseadaptor.BaseAdaptor.getPlatformAdmin(BaseAdaptor.java:385)rn at org.eclipse.core.runtime.internal.adaptor.EclipseAdaptorHook.frameworkStart(EclipseAdaptorHook.java:80)rn at org.eclipse.osgi.baseadaptor.BaseAdaptor.frameworkStart(BaseAdaptor.java:260)rn at org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start(SystemBundleActivator.java:55)rn at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:995)rn at java.security.AccessController.doPrivileged(Native Method)rn at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:989)rn at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:970)rn at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:549)rn at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:484)rn at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)rn at org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(StartLevelManager.java:245)rn at org.eclipse.osgi.framework.internal.core.SystemBundle.resume(SystemBundle.java:155)rn at org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:503)rn at org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:289)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:173)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:601)rn at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)rn at org.eclipse.core.launcher.Main.basicRun(Main.java:280)rn at org.eclipse.core.launcher.Main.run(Main.java:977)rn at org.eclipse.core.launcher.Main.main(Main.java:952)rnrn!ENTRY org.eclipse.osgi 4 0 2013-12-09 15:22:08.560rn!MESSAGE Startup errorrn!STACK 1rnjava.lang.RuntimeException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle system.bundle.rn at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:557)rn at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:484)rn at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)rn at org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(StartLevelManager.java:245)rn at org.eclipse.osgi.framework.internal.core.SystemBundle.resume(SystemBundle.java:155)rn at org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:503)rn at org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:289)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:173)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:601)rn at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)rn at org.eclipse.core.launcher.Main.basicRun(Main.java:280)rn at org.eclipse.core.launcher.Main.run(Main.java:977)rn at org.eclipse.core.launcher.Main.main(Main.java:952)rn!SESSION Mon Dec 09 15:22:08 CST 2013 ------------------------------------------rn!ENTRY org.eclipse.core.launcher 4 0 2013-12-09 15:22:08.563rn!MESSAGE Exception launching the Eclipse Platform:rn!STACKrnjava.lang.NullPointerExceptionrn at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:186)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:601)rn at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)rn at org.eclipse.core.launcher.Main.basicRun(Main.java:280)rn at org.eclipse.core.launcher.Main.run(Main.java:977)rn at org.eclipse.core.launcher.Main.main(Main.java:952)rnrn[/code] 论坛

没有更多推荐了,返回首页