当前位置:  编程技术>java/j2ee

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

    来源: 互联网  发布时间:2014-10-21

    本文导语:  报错之一: 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 SettingsAdministr...

报错之一:
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 SettingsAdministrator>java -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的放在最后,放在中间也不行。

    
 
 

您可能感兴趣的文章:

  • 原来在ubuntu装个了个eclipse,可以正常启动,后来又下了个支持php的eclipse...发现php的eclipse无法启动
  • linux虚拟机中eclipse启动卡死
  • eclipse启动不了
  • linux中启动Eclipse地方法???
  • 100分求教eclipse启动不了问题!!!
  • Eclipse启动Tomcat超时问题的解决方法
  • eclipse IDE 在redhat下的启动问题
  • eclipse启动tomcat无法访问的解决方法
  • ·我在linux下启动eclipse 报jvm terminated exit code=1,什么原因啊?
  • java eclipse 启动参数
  • eclipse导入jquery包后报错的解决方法
  • Eclipse下使用ANT编译提示OutOfMemory的解决方法
  • 浅析打开eclipse出现Incompatible JVM的解决方法
  • Eclipse对printf()不能输出到控制台的快速解决方法
  • java 解决Eclipse挂掉问题的方法
  • linux运行eclipse就会弹出一个error,求高手解决
  • linux下用eclipse进行开发,尤其打开较大的python代码模块,老是会卡,请问大家有没有好点的解决办法,如能提供具体设置,不胜感激
  • jquery库或JS文件在eclipse下报错问题解决方法
  • 基于Eclipse中SVN图标不显示的解决方法
  • android开发 eclipse alt+”/”自动提示失效的解决方法
  • 解决Fedora14下eclipse进行android开发,ibus提示没有输入窗口的方法详解
  • 解决常见的Eclipse SVN插件报错方法详解
  • 解决Eclipse add external jars运行出现java.lang.NoClassDefFoundError的方法
  • 解决在eclipse中将android项目生成apk并且给apk签名的实现方法详解
  •  
    本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
    本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。












  • 相关文章推荐
  • 为什么我在http://www.eclipse.org下载了eclipse后,点击eclipse.exe却没有任何效果?
  • 什么是eclipse,eclipse的意思解析
  • Eclipse配色插件 Eclipse Color Themes
  • Eclipse SOA工具平台 Eclipse STP
  • Eclipse的Fujaba建模插件 Fujaba4Eclipse
  • Eclipse 字体大小控制插件 eclipse-fonts
  • Sonar的Eclipse插件 Sonar4eclipse
  • Eclipse的HTML格式化插件 Eclipse Tidy
  • Eclipse 的 Maven 插件 m2eclipse
  • Eclipse的持续测试插件 CT-Eclipse
  • Eclipse内容导航视图框架 Eclipse CNF
  • Eclipse记事本插件 Eclipse Notepad Plugin
  • Eclipse的Mercurial插件 Mercurial Eclipse
  • Eclipse的Tomcat插件 Eclipse Mongrel
  • Eclipse的Maven集成插件 Eclipse IAM
  • Eclipse的PDF查看插件 Pdf4Eclipse
  • Eclipse的RMI开发插件 RMI Plugin for Eclipse
  • Eclipse面向方面建模插件 A2Eclipse
  • Eclipse可视化编辑器 Eclipse VE
  • Ubuntu下无法解压eclipse安装包,eclipse安装包在Redhat下完美安装


  • 站内导航:


    特别声明:169IT网站部分信息来自互联网,如果侵犯您的权利,请及时告知,本站将立即删除!

    ©2012-2021,,E-mail:www_#163.com(请将#改为@)

    浙ICP备11055608号-3