提问者:小点点

日食开箱即用


我刚刚下载了Eclipse IDE,它并没有开箱即用。我该怎么办?错误日志是

!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.ant.core [57]
  Unresolved requirement: Require-Bundle: org.eclipse.core.variables; bundle-version="[3.1.0,4.0.0)"
    -> Bundle-SymbolicName: org.eclipse.core.variables; bundle-version="3.2.800.v20130819-1716"; singleton:="true"
       org.eclipse.core.variables [83]
         Unresolved requirement: Require-Bundle: org.eclipse.core.runtime; bundle-version="[3.3.0,4.0.0)"
           -> Bundle-SymbolicName: org.eclipse.core.runtime; bundle-version="3.11.0.v20150405-1723"; singleton:="true"
              org.eclipse.core.runtime [80]
                Unresolved requirement: Require-Bundle: org.eclipse.core.jobs; bundle-version="[3.2.0,4.0.0)"; visibility:="reexport"
                  -> Bundle-SymbolicName: org.eclipse.core.jobs; bundle-version="3.7.0.v20150330-2103"; singleton:="true"
                     org.eclipse.core.jobs [75]
                       Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"

!ENTRY org.eclipse.ant.launch 4 0 2017-12-26 11:31:52.440


共2个答案

匿名用户

您正在使用的 Java 版本太旧。您应该至少使用 Java 8。

匿名用户

嗨,从日志中我可以看到您使用的是 JDK 1.7,Eclipse Neon 或 Oxygen 不支持它。

要么使用支持 1.7 的 Eclipse Mars,要么更新到 1.8。