eclipse报错 eclipse启动报错解决方法

2016-02-19 11:36 196 1 收藏

图老师小编精心整理的eclipse报错 eclipse启动报错解决方法希望大家喜欢,觉得好的亲们记得收藏起来哦!您的支持就是小编更新的动力~

【 tulaoshi.com - 编程语言 】

报错之一:
Version 1.4.2_03 of the JVM not suitable for this product.Version1.5 or geeater is required
大概意思好像说我的JVM虚拟机的环境 1.4版本过低,让我用1.5版本以上的,很疑惑。。。我安装的jdk是1.7的。
不过jvm是;

C:Documents and SettingsAdministratorjava -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b11)
Java HotSpot(TM) Client VM (build 23.3-b01, mixed mode, sharing)

C:Documents and SettingsAdministrator

报错之二:
!SESSION 2012-11-27 20:26:37.326 -----------------------------------------------
eclipse.buildId=I20110613-1736
java.version=1.4.2_03
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 2 1 2012-11-27 20:26:37.779
!MESSAGE NLS unused message: ECLIPSE_OSGI_NAME in: org.eclipse.osgi.framework.internal.core.ExternalMessages

!ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:37.779
!MESSAGE NLS unused message: OSGI_VERSION in: org.eclipse.osgi.framework.internal.core.ExternalMessages

!ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:37.795
!MESSAGE NLS unused message: ECLIPSE_COPYRIGHT in: org.eclipse.osgi.framework.internal.core.ExternalMessages

!ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:37.795
!MESSAGE NLS unused message: BUNDLE_CLASSPATH_ENTRY_NOT_FOUND_EXCEPTION in: org.eclipse.osgi.framework.internal.core.ExternalMessages

!ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:37.795
!MESSAGE NLS unused message: BUNDLE_FRAGMENT_IMPORT_CONFLICT in: org.eclipse.osgi.framework.internal.core.ExternalMessages

!ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:37.795
!MESSAGE NLS unused message: FILTER_INVALID in: org.eclipse.osgi.framework.internal.core.ExternalMessages

!ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:37.795
!MESSAGE NLS unused message: LAUNCHER_ADAPTOR_ERROR in: org.eclipse.osgi.framework.internal.core.ExternalMessages

!ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:37.795
!MESSAGE NLS unused message: LAUNCHER_INVALID_PORT in: org.eclipse.osgi.framework.internal.core.ExternalMessages

!ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:37.795
!MESSAGE NLS unused message: LAUNCHER_COMPONENT_MISSING in: org.eclipse.osgi.framework.internal.core.ExternalMessages

!ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:37.795
!MESSAGE NLS unused message: LAUNCHER_COMPONENT_JAR in: org.eclipse.osgi.framework.internal.core.ExternalMessages

!ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:38.170
!MESSAGE NLS unused message: COMMIT_INVALID_TIMESTAMP in: org.eclipse.osgi.internal.resolver.StateMessages

!ENTRY org.eclipse.equinox.p2.reconciler.dropins 4 0 2012-11-27 20:26:38.170
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: 无法解析束。原因:org.eclipse.equinox.p2.reconciler.dropins_1.1.100.v20110510 [84]
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1327)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1311)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:389)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1130)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:38.341
!MESSAGE NLS unused message: ECLIPSE_STARTUP_INVALID_PORT in: org.eclipse.core.runtime.internal.adaptor.EclipseAdaptorMessages

!ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:38.341
!MESSAGE NLS unused message: ECLIPSE_STARTUP_FAILED_FIND in: org.eclipse.core.runtime.internal.adaptor.EclipseAdaptorMessages

!ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:38.341
!MESSAGE NLS unused message: ECLIPSE_CONSOLE_DISABLED_BUNDLE_REASON2 in: org.eclipse.core.runtime.internal.adaptor.EclipseAdaptorMessages

!ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:38.341
!MESSAGE NLS unused message: ECLIPSE_CLASSLOADER_GENERATED_EXCEPTION in: org.eclipse.core.runtime.internal.adaptor.EclipseAdaptorMessages

!ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:38.341
!MESSAGE NLS unused message: ECLIPSE_CLASSLOADER_ALREADY_STOPPED in: org.eclipse.core.runtime.internal.adaptor.EclipseAdaptorMessages

!ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:38.357
!MESSAGE NLS unused message: ECLIPSE_BUNDLESTOPPER_ERROR_STOPPING_BUNDLE in: org.eclipse.core.runtime.internal.adaptor.EclipseAdaptorMessages

!ENTRY org.eclipse.osgi 2 0 2012-11-27 20:26:38.357
!MESSAGE 由于未解析以下根约束,所以未解析一个或多个束:
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-11-27 20:26:38.357
!MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.core.net.win32.x86.nl_zh_3.5.0.v20091121043401.jar。
!SUBENTRY 2 org.eclipse.core.net.win32.x86.nl_zh 2 0 2012-11-27 20:26:38.357
!MESSAGE 缺少主机 org.eclipse.core.net.win32.x86_0.0.0。
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-11-27 20:26:38.357
!MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.equinox.launcher.win32.win32.x86.nl_zh_3.5.0.v20091121043401.jar。
!SUBENTRY 2 org.eclipse.equinox.launcher.win32.win32.x86.nl_zh 2 0 2012-11-27 20:26:38.357
!MESSAGE 缺少主机 org.eclipse.equinox.launcher.win32.win32.x86_0.0.0。

!ENTRY org.eclipse.osgi 2 0 2012-11-27 20:26:38.482
!MESSAGE 以下是未解析的束的完整列表,请参阅上一个日志条目以了解根本原因(如果存在该日志条目的话):
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-11-27 20:26:38.482
!MESSAGE 未解析 bundle com.ibm.icu_4.4.2.v20110208 [2]。
!SUBENTRY 2 com.ibm.icu 2 0 2012-11-27 20:26:38.482
!MESSAGE 缺少约束:Bundle-RequiredExecutionEnvironment: J2SE-1.5
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-11-27 20:26:38.482
!MESSAGE 未解析 bundle org.eclipse.ant.launching_1.0.100.v20110506 [16]。
!SUBENTRY 2 org.eclipse.ant.launching 2 0 2012-11-27 20:26:38.482
!ENTRY org.eclipse.osgi 4 0 2012-11-27 20:26:38.513
!MESSAGE 应用程序错误
!STACK 1
java.lang.RuntimeException: 应用程序 {0} 在注册器中没有找到. 应用程序可以应用在: org.eclipse.ant.core.antRunner, org.eclipse.equinox.app.error, org.eclipse.equinox.p2.director, org.eclipse.equinox.p2.garbagecollector.application, org.eclipse.pde.junit.runtime.uitestapplication, org.eclipse.pde.junit.runtime.legacytestapplication, org.eclipse.pde.junit.runtime.coretestapplication, org.eclipse.pde.junit.runtime.coretestapplicationnonmain, org.eclipse.pde.junit.runtime.nonuithreadtestapplication, org.eclipse.update.core.standaloneUpdate, org.eclipse.update.core.siteOptimizer.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248)
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:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
解决方法:

在我的电脑-高级-环境变量path中,将系统变量path里面的内容调整一下,Oracle的内容全部移到最后边。如:
%JAVA_HOME%bin;%JAVA_HOME%lib;%JAVA_HOME%jrelib;%SystemRoot%system32;%SystemRoot%;%SystemRoot%System32Wbem;C:Program FilesCommon FilesThunder NetworkKanKanCodecs;d:Program FilesATI TechnologiesATI.ACECore-Static;d:oracleproduct10.1.0Db_2bin;d:oracleproduct10.1.0Db_2jre1.4.2binclient;d:oracleproduct10.1.0Db_2jre1.4.2bin;

错误原因:

因为我本来安装了oracle,oracle的jre变量值优先于java,所以导致java的jre失效,报错XXX未找到。必须把oracle的放在最后,放在中间也不行。

来源:http://www.tulaoshi.com/n/20160219/1597955.html

延伸阅读
安装了oracle10g的客户端后,eclipse打不开了。所以检查了一下,发现是以下原因。 运行eclipse出现以下错误: Incompatible JVM Version 1.3.1_01 of the JVM is not suitable for this product.Version:1.4.1 or greater is required. 或 Version 1.4.1_02 of the JVM is not suitable for this product.Version:1.5 or greater is require...
新版腾讯手机管家广告拦截报错解决方法   广告拦截是腾讯手机管家的特色功能,能够净化网页,还你一个绿色无广告的浏览环境,不过不少的小白菜用户在更新管家到5.0版本之后,出现了管家的广告拦截报错问题,并且无法使用,如下图: 为什么会报错呢?其实原因只有一个!你 没!有!给!管!家!Root!权!限! 怎么查看是否已经给管...
标签: 电脑入门
在安装Rational Rose完以后提示找不到 suite objects.dll: 经查找,该 dll 存在: 找不到的原因是,安装程序自动设置在 Path 中的环境变量有误: 把最后的 common 改成 Common: 就 OK 了: 结语:几个步骤,很快地解决问题啦!
在用Eclipse做开发的时候,用到了svn版本控制器,这天当我打开Eclipse的时候,发现项目里面的所有文件前的版本号以及状态图标都不显示了,即所有的svn图标不显示了,这是怎么回事,关掉Eclipse重新启动了一遍,还是不凑效。可以确认的是当进行文件的更新提交的时候都可以正常进行,但就是不显示文件svn的版本号及状态图标,经过摸索 , 解决方法...
出现此错我的原因是由于ant在执行的时候,默认给JVM的内存不够,需要通过设定启动参数,增加允许使用的内存量。如果是通过命令行直接执行ANT,那么,直接修改启动命令即可。但是,在Eclipse上执行,命令行的设定就不好用了。 自己也是试验了好几次,最后终于搞定。 争取的设定方法是,直接在Eclipse的执行JVM上设定参数,如下: 1.打开Window...

经验教程

840

收藏

14
微博分享 QQ分享 QQ空间 手机页面 收藏网站 回到头部