Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1641381
  • 博文数量: 409
  • 博客积分: 6240
  • 博客等级: 准将
  • 技术积分: 4908
  • 用 户 组: 普通用户
  • 注册时间: 2011-06-01 00:04
文章分类

全部博文(409)

文章存档

2021年(1)

2019年(1)

2017年(1)

2016年(13)

2015年(22)

2013年(4)

2012年(240)

2011年(127)

分类: Java

2012-11-27 20:30:32

错误:

  1. 报错之一:
  2. Version 1.4.2_03 of the JVM not suitable for this product.Version1.5 or geeater is required
  3. 大概意思好像说我的JVM虚拟机的环境 1.4版本过低,让我用1.5版本以上的,很疑惑。。。我安装的jdk是1.7的。
  4. 不过jvm是;
  5. C:\Documents and Settings\Administrator>java -version
  6. java version "1.7.0_07"
  7. Java(TM) SE Runtime Environment (build 1.7.0_07-b11)
  8. Java HotSpot(TM) Client VM (build 23.3-b01, mixed mode, sharing)

  9. C:\Documents and Settings\Administrator>



  10. 报错之二:
  11. !SESSION 2012-11-27 20:26:37.326 -----------------------------------------------
  12. eclipse.buildId=I20110613-1736
  13. java.version=1.4.2_03
  14. java.vendor=Sun Microsystems Inc.
  15. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
  16. Command-line arguments: -os win32 -ws win32 -arch x86
  17. !ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:37.779
  18. !MESSAGE NLS unused message: ECLIPSE_OSGI_NAME in: org.eclipse.osgi.framework.internal.core.ExternalMessages
  19. !ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:37.779
  20. !MESSAGE NLS unused message: OSGI_VERSION in: org.eclipse.osgi.framework.internal.core.ExternalMessages
  21. !ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:37.795
  22. !MESSAGE NLS unused message: ECLIPSE_COPYRIGHT in: org.eclipse.osgi.framework.internal.core.ExternalMessages
  23. !ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:37.795
  24. !MESSAGE NLS unused message: BUNDLE_CLASSPATH_ENTRY_NOT_FOUND_EXCEPTION in: org.eclipse.osgi.framework.internal.core.ExternalMessages
  25. !ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:37.795
  26. !MESSAGE NLS unused message: BUNDLE_FRAGMENT_IMPORT_CONFLICT in: org.eclipse.osgi.framework.internal.core.ExternalMessages
  27. !ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:37.795
  28. !MESSAGE NLS unused message: FILTER_INVALID in: org.eclipse.osgi.framework.internal.core.ExternalMessages
  29. !ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:37.795
  30. !MESSAGE NLS unused message: LAUNCHER_ADAPTOR_ERROR in: org.eclipse.osgi.framework.internal.core.ExternalMessages
  31. !ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:37.795
  32. !MESSAGE NLS unused message: LAUNCHER_INVALID_PORT in: org.eclipse.osgi.framework.internal.core.ExternalMessages
  33. !ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:37.795
  34. !MESSAGE NLS unused message: LAUNCHER_COMPONENT_MISSING in: org.eclipse.osgi.framework.internal.core.ExternalMessages
  35. !ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:37.795
  36. !MESSAGE NLS unused message: LAUNCHER_COMPONENT_JAR in: org.eclipse.osgi.framework.internal.core.ExternalMessages
  37. !ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:38.170
  38. !MESSAGE NLS unused message: COMMIT_INVALID_TIMESTAMP in: org.eclipse.osgi.internal.resolver.StateMessages
  39. !ENTRY org.eclipse.equinox.p2.reconciler.dropins 4 0 2012-11-27 20:26:38.170
  40. !MESSAGE FrameworkEvent ERROR
  41. !STACK 0
  42. org.osgi.framework.BundleException: 无法解析束。原因:org.eclipse.equinox.p2.reconciler.dropins_1.1.100.v20110510 [84]
  43. at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1327)
  44. at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1311)
  45. at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
  46. at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:389)
  47. at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1130)
  48. at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
  49. at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
  50. at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
  51. at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
  52. at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
  53. at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
  54. at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
  55. at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
  56. !ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:38.341
  57. !MESSAGE NLS unused message: ECLIPSE_STARTUP_INVALID_PORT in: org.eclipse.core.runtime.internal.adaptor.EclipseAdaptorMessages
  58. !ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:38.341
  59. !MESSAGE NLS unused message: ECLIPSE_STARTUP_FAILED_FIND in: org.eclipse.core.runtime.internal.adaptor.EclipseAdaptorMessages
  60. !ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:38.341
  61. !MESSAGE NLS unused message: ECLIPSE_CONSOLE_DISABLED_BUNDLE_REASON2 in: org.eclipse.core.runtime.internal.adaptor.EclipseAdaptorMessages
  62. !ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:38.341
  63. !MESSAGE NLS unused message: ECLIPSE_CLASSLOADER_GENERATED_EXCEPTION in: org.eclipse.core.runtime.internal.adaptor.EclipseAdaptorMessages
  64. !ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:38.341
  65. !MESSAGE NLS unused message: ECLIPSE_CLASSLOADER_ALREADY_STOPPED in: org.eclipse.core.runtime.internal.adaptor.EclipseAdaptorMessages
  66. !ENTRY org.eclipse.osgi 2 1 2012-11-27 20:26:38.357
  67. !MESSAGE NLS unused message: ECLIPSE_BUNDLESTOPPER_ERROR_STOPPING_BUNDLE in: org.eclipse.core.runtime.internal.adaptor.EclipseAdaptorMessages
  68. !ENTRY org.eclipse.osgi 2 0 2012-11-27 20:26:38.357
  69. !MESSAGE 由于未解析以下根约束,所以未解析一个或多个束:
  70. !SUBENTRY 1 org.eclipse.osgi 2 0 2012-11-27 20:26:38.357
  71. !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.core.net.win32.x86.nl_zh_3.5.0.v20091121043401.jar。
  72. !SUBENTRY 2 org.eclipse.core.net.win32.x86.nl_zh 2 0 2012-11-27 20:26:38.357
  73. !MESSAGE 缺少主机 org.eclipse.core.net.win32.x86_0.0.0。
  74. !SUBENTRY 1 org.eclipse.osgi 2 0 2012-11-27 20:26:38.357
  75. !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.equinox.launcher.win32.win32.x86.nl_zh_3.5.0.v20091121043401.jar。
  76. !SUBENTRY 2 org.eclipse.equinox.launcher.win32.win32.x86.nl_zh 2 0 2012-11-27 20:26:38.357
  77. !MESSAGE 缺少主机 org.eclipse.equinox.launcher.win32.win32.x86_0.0.0。
  78. !ENTRY org.eclipse.osgi 2 0 2012-11-27 20:26:38.482
  79. !MESSAGE 以下是未解析的束的完整列表,请参阅上一个日志条目以了解根本原因(如果存在该日志条目的话):
  80. !SUBENTRY 1 org.eclipse.osgi 2 0 2012-11-27 20:26:38.482
  81. !MESSAGE 未解析 bundle com.ibm.icu_4.4.2.v20110208 [2]。
  82. !SUBENTRY 2 com.ibm.icu 2 0 2012-11-27 20:26:38.482
  83. !MESSAGE 缺少约束:Bundle-RequiredExecutionEnvironment: J2SE-1.5
  84. !SUBENTRY 1 org.eclipse.osgi 2 0 2012-11-27 20:26:38.482
  85. !MESSAGE 未解析 bundle org.eclipse.ant.launching_1.0.100.v20110506 [16]。
  86. !SUBENTRY 2 org.eclipse.ant.launching 2 0 2012-11-27 20:26:38.482
  87. !ENTRY org.eclipse.osgi 4 0 2012-11-27 20:26:38.513
  88. !MESSAGE 应用程序错误
  89. !STACK 1
  90. 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.
  91. at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248)
  92. at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
  93. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
  94. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
  95. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
  96. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
  97. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  98. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  99. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  100. at java.lang.reflect.Method.invoke(Unknown Source)
  101. at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
  102. at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
  103. at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
解决方法:

在我的电脑-高级-环境变量path中,将系统变量path里面的内容调整一下,Oracle的内容全部移到最后边。如:
%JAVA_HOME%\bin;%JAVA_HOME%\lib;%JAVA_HOME%\jre\lib;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs;d:\Program Files\ATI Technologies\ATI.ACE\Core-Static;d:\oracle\product\10.1.0\Db_2\bin;d:\oracle\product\10.1.0\Db_2\jre\1.4.2\bin\client;d:\oracle\product\10.1.0\Db_2\jre\1.4.2\bin;

错误原因:

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










阅读(4184) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~