Eclipse突然打不开了

---------------------------
Eclipse
---------------------------
Java was started but returned exit code=13
C:\ProgramData\Oracle\Java\javapath\javaw.exe
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=@user.home/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-jarD:\java\eclipse-jee-oxygen-R-win32-x86_64\eclipse\\plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
-os win32
-ws win32
-arch x86_64
-showsplash D:\java\eclipse-jee-oxygen-R-win32-x86_64\eclipse\\plugins\org.eclipse.epp.package.common_4.7.0.20170620-1800\splash.bmp
-launcher D:\java\eclipse-jee-oxygen-R-win32-x86_64\eclipse\eclipse.exe
-name Eclipse
--launcher.library D:\java\eclipse-jee-oxygen-R-win32-x86_64\eclipse\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.500.v20170531-1133\eclipse_1624.dll
-startup D:\java\eclipse-jee-oxygen-R-win32-x86_64\eclipse\\plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.appendVmargs
-exitdata 10d4_60
-product org.eclipse.epp.package.jee.product
-vm C:\ProgramData\Oracle\Java\javapath\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=@user.home/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-jar D:\java\eclipse-jee-oxygen-R-win32-x86_64\eclipse\\plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar 
---------------------------
确定   

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


以上为打开Eclipse时所报的错.

在判断错误的时候,首先要检查是否有jdk和jre的路径(加粗的地方为路径);

这个报错由于发现没有jdk和jre的路径,所以我们需要在Eclipse的安装目录中配置jre文件;

具体操作步骤如下:

1、在桌面上右击Eclipse找到文件存放位置,即为Eclipse的安装位置,将找到的jre文件复制到此处即可;

2、找到jdk的安装目录,复制jre到Eclipse的安装目录,需要注意的是,当复制的jre文件夹名字为jre_1.8.0_31时,需要将文件夹名字改为jre;

3、重新启动Eclipse即可;


阅读更多

eclipse启动突然出问题,打不开

02-27

先让我去工作区的.metadata\.log下去看详细错误,详细错误是rn!SESSION 2010-02-27 09:57:27.734 -----------------------------------------------rneclipse.buildId=M20090917-0800rnjava.version=1.5.0rnjava.vendor=Sun Microsystems Inc.rnBootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CNrnFramework arguments: -product org.eclipse.epp.package.jee.productrnCommand-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.productrnrn!ENTRY org.eclipse.core.resources 2 10035 2010-02-27 09:57:29.703rn!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.rnrn!ENTRY org.eclipse.osgi 4 0 2010-02-27 09:57:29.812rn!MESSAGE An error occurred while automatically activating bundle org.eclipse.core.resources (65).rn!STACK 0rnorg.osgi.framework.BundleException: Exception in org.eclipse.core.resources.ResourcesPlugin.start() of bundle org.eclipse.core.resources.rn at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:806)rn at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)rn at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)rn at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)rn at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)rn at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)rn at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)rn at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)rn at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)rn at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:33)rn at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:454)rn at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)rn at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)rn at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:251)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)rn at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:114)rn at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)rn at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)rn at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:585)rn at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)rn at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)rn at org.eclipse.equinox.launcher.Main.run(Main.java:1311)rnCaused by: org.eclipse.core.internal.dtree.ObjectNotFoundException: Tree element '/web service' not found.rn at org.eclipse.core.internal.dtree.AbstractDataTree.handleNotFound(AbstractDataTree.java:257)rn at org.eclipse.core.internal.dtree.DeltaDataTree.getData(DeltaDataTree.java:585)rn at org.eclipse.core.internal.dtree.DataDeltaNode.asBackwardDelta(DataDeltaNode.java:50)rn at org.eclipse.core.internal.dtree.DataDeltaNode.asBackwardDelta(DataDeltaNode.java:47)rn at org.eclipse.core.internal.dtree.DeltaDataTree.asBackwardDelta(DeltaDataTree.java:88)rn at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDataTree.java:816)rn at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDataTree.java:815)rn at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDataTree.java:792)rn at org.eclipse.core.internal.watson.ElementTree.immutable(ElementTree.java:517)rn at org.eclipse.core.internal.resources.SaveManager.restore(SaveManager.java:670)rn at org.eclipse.core.internal.resources.SaveManager.startup(SaveManager.java:1353)rn at org.eclipse.core.internal.resources.Workspace.startup(Workspace.java:1957)rn at org.eclipse.core.internal.resources.Workspace.open(Workspace.java:1716)rn at org.eclipse.core.resources.ResourcesPlugin.start(ResourcesPlugin.java:379)rn at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)rn at java.security.AccessController.doPrivileged(Native Method)rn at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)rn ... 28 morernRoot exception:rnorg.eclipse.core.internal.dtree.ObjectNotFoundException: Tree element '/web service' not found.rn at org.eclipse.core.internal.dtree.AbstractDataTree.handleNotFound(AbstractDataTree.java:257)rn at org.eclipse.core.internal.dtree.DeltaDataTree.getData(DeltaDataTree.java:585)rn at org.eclipse.core.internal.dtree.DataDeltaNode.asBackwardDelta(DataDeltaNode.java:50)rn at org.eclipse.core.internal.dtree.DataDeltaNode.asBackwardDelta(DataDeltaNode.java:47)rn at org.eclipse.core.internal.dtree.DeltaDataTree.asBackwardDelta(DeltaDataTree.java:88)rn at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDataTree.java:816)rn at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDataTree.java:815)rn at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDataTree.java:792)rn at org.eclipse.core.internal.watson.ElementTree.immutable(ElementTree.java:517)rn at org.eclipse.core.internal.resources.SaveManager.restore(SaveManager.java:670)rn at org.eclipse.core.internal.resources.SaveManager.startup(SaveManager.java:1353)rn at org.eclipse.core.internal.resources.Workspace.startup(Workspace.java:1957)rn at org.eclipse.core.internal.resources.Workspace.open(Workspace.java:1716)rn at org.eclipse.core.resources.ResourcesPlugin.start(ResourcesPlugin.java:379)rn at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)rn at java.security.AccessController.doPrivileged(Native Method)rn at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)rn at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)rn at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)rn at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)rn at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)rn at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)rn at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)rn at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)rn at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)rn at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:33)rn at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:454)rn at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)rn at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)rn at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:251)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)rn at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:114)rn at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)rn at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)rn at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:585)rn at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)rn at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)rn at org.eclipse.equinox.launcher.Main.run(Main.java:1311)rnrn这是什么原因引起的呢?rn

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