eclipse报错eclipse启动报错解决⽅法
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 Settings\Administrator>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 Settings\Administrator>
!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
!lipse.osgi 2 1 2012-11-27 20:26:37.779
!MESSAGE NLS unused message: ECLIPSE_OSGI_NAME in: lipse.osgi.ExternalMessages
!lipse.osgi 2 1 2012-11-27 20:26:37.779
!MESSAGE NLS unused message: OSGI_VERSION in: lipse.osgi.ExternalMessages
!lipse.osgi 2 1 2012-11-27 20:26:37.795
!MESSAGE NLS unused message: ECLIPSE_COPYRIGHT in: lipse.osgi.
e.ExternalMessages
!lipse.osgi 2 1 2012-11-27 20:26:37.795
!MESSAGE NLS unused message: BUNDLE_CLASSPATH_ENTRY_NOT_FOUND_EXCEPTION in:
!lipse.osgi 2 1 2012-11-27 20:26:37.795
!MESSAGE NLS unused message: BUNDLE_FRAGMENT_IMPORT_CONFLICT in: lipse.osgi.ExternalMessages !lipse.osgi 2 1 2012-11-27 20:26:37.795
!MESSAGE NLS unused message: FILTER_INVALID in: lipse.osgi.ExternalMessages
!lipse.osgi 2 1 2012-11-27 20:26:37.795
!MESSAGE NLS unused message: LAUNCHER_ADAPTOR_ERROR in: lipse.osgi.ExternalMessages
!lipse.osgi 2 1 2012-11-27 20:26:37.795
!MESSAGE NLS unused message: LAUNCHER_INVALID_PORT in: lipse.osgi.ExternalMessages
!lipse.osgi 2 1 2012-11-27 20:26:37.795
!MESSAGE NLS unused message: LAUNCHER_COMPONENT_MISSING in: lipse.osgi.ExternalMessages
!lipse.osgi 2 1 2012-11-27 20:26:37.795
!MESSAGE NLS unused message: LAUNCHER_COMPONENT_JAR in: lipse.osgi.ExternalMessages
!lipse.osgi 2 1 2012-11-27 20:26:38.170
!MESSAGE NLS unused message: COMMIT_INVALID_TIMESTAMP in: lipse.solver.StateMessages
!lipse.iler.dropins 4 0 2012-11-27 20:26:38.170
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: ⽆法解析束。原因:lipse.iler.dropins_1.1.100.v20110510 [84]
lipse.osgi.ResolverError(AbstractBundle.java:1327)
lipse.osgi.ResolutionFailureException(AbstractBundle.java:1311)
lipse.osgi.BundleHost.startWorker(BundleHost.java:323)
lipse.osgi.sume(AbstractBundle.java:389)
lipse.osgi.sumeBundle(Framework.java:1130)
lipse.osgi.sumeBundles(StartLevelManager.java:559)
lipse.osgi.sumeBundles(StartLevelManager.java:544)
lipse.osgi.StartLevelManager.incFWSL(StartLevelManager.java:457)
lipse.osgi.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
lipse.osgi.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
lipse.osgi.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
lipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
lipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
!lipse.osgi 2 1 2012-11-27 20:26:38.341
!
MESSAGE NLS unused message: ECLIPSE_STARTUP_INVALID_PORT in: untime.internal.adaptor.EclipseAdaptorMessages
!lipse.osgi 2 1 2012-11-27 20:26:38.341
!MESSAGE NLS unused message: ECLIPSE_STARTUP_FAILED_FIND in: untime.internal.adaptor.EclipseAdaptorMessages
!lipse.osgi 2 1 2012-11-27 20:26:38.341
!MESSAGE NLS unused message: ECLIPSE_CONSOLE_DISABLED_BUNDLE_REASON2 in:
!lipse.osgi 2 1 2012-11-27 20:26:38.341
!MESSAGE NLS unused message: ECLIPSE_CLASSLOADER_GENERATED_EXCEPTION in:
!lipse.osgi 2 1 2012-11-27 20:26:38.341
!MESSAGE NLS unused message: ECLIPSE_CLASSLOADER_ALREADY_STOPPED in:
!lipse.osgi 2 1 2012-11-27 20:26:38.357
!MESSAGE NLS unused message: ECLIPSE_BUNDLESTOPPER_ERROR_STOPPING_BUNDLE in:
!lipse.osgi 2 0 2012-11-27 20:26:38.357
!MESSAGE 由于未解析以下根约束,所以未解析⼀个或多个束:
!SUBENTRY lipse.osgi 2 0 2012-11-27 20:26:38.357
!MESSAGE 未解析 bundle reference:file:win32.x86.nl_zh_3.5.0.v20091121043401.jar。
!SUBENTRY win32.x86.nl_zh 2 0 2012-11-27 20:26:38.357
!MESSAGE 缺少主机 win32.x86_0.0.0。
!SUBENTRY lipse.osgi 2 0 2012-11-27 20:26:38.357
!MESSAGE 未解析 bundle reference:file:lipse.equinox.launcher.win32.win32.x86.nl_zh_3.5.0.v20091121043401.jar。
!SUBENTRY lipse.equinox.launcher.win32.win32.x86.nl_zh 2 0 2012-11-27 20:26:38.357
!MESSAGE 缺少主机 lipse.equinox.launcher.win32.win32.x86_0.0.0。
!lipse.osgi 2 0 2012-11-27 20:26:38.482
!MESSAGE 以下是未解析的束的完整列表,请参阅上⼀个⽇志条⽬以了解根本原因(如果存在该⽇志条⽬的话):
!SUBENTRY lipse.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 lipse.osgi 2 0 2012-11-27 20:26:38.482
!MESSAGE 未解析 lipse.ant.launching_1.0.100.v20110506 [16]。
!SUBENTRY lipse.ant.launching 2 0 2012-11-27 20:26:38.482
!lipse.osgi 4 0 2012-11-27 20:26:38.513
!MESSAGE 应⽤程序错误
!STACK 1
java.lang.RuntimeException: 应⽤程序 {0} 在注册器中没有到. 应⽤程序可以应⽤在: antRunner, lipse.,
application,
lipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248)spring framework runtime
lipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
untime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
untime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
untime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
untime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
flect.NativeMethodAccessorImpl.invoke0(Native Method)
flect.NativeMethodAccessorImpl.invoke(Unknown Source)
flect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at flect.Method.invoke(Unknown Source)
lipse.equinox.launcher.Main.invokeFramework(Main.java:622)
lipse.equinox.launcher.Main.basicRun(Main.java:577)
lipse.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的放在最后,放在中间也不⾏。

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。