当前位置: 首页 > 知识库问答 >
问题:

在为java安装eclipse IDE时,我收到一个错误?

马欣德
2023-03-14

我正在尝试在windows 10上安装eclipse IDE for java。我已经安装了java 13.0.1。当我点击eclipse时。exe它表示发生错误,请参阅日志文件。这是日志文件

!SESSION 2020-05-10 00:04:30.055 -----------------------------------------------
eclipse.buildId=4.3.0.M20130911-1000
java.version=13.0.1
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product

!ENTRY org.eclipse.osgi 4 0 2020-05-10 00:04:30.595
!MESSAGE Startup error
!STACK 1
java.lang.RuntimeException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osgi.
    at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.resume(InternalSystemBundle.java:233)
    at org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:656)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:275)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:567)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
Caused by: org.osgi.framework.BundleException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osgi.
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
    at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.resume(InternalSystemBundle.java:225)
    ... 10 more
Caused by: java.lang.IllegalStateException: The System Bundle could not be resolved: Missing Constraint: Bundle-RequiredExecutionEnvironment: J2SE-1.5
    at org.eclipse.osgi.internal.baseadaptor.BaseStorage.checkSystemState(BaseStorage.java:827)
    at org.eclipse.osgi.internal.baseadaptor.BaseStorage.getStateManager(BaseStorage.java:800)
    at org.eclipse.osgi.baseadaptor.BaseAdaptor.getState(BaseAdaptor.java:387)
    at org.eclipse.osgi.internal.baseadaptor.BaseStorage.frameworkStart(BaseStorage.java:923)
    at org.eclipse.osgi.baseadaptor.BaseAdaptor.frameworkStart(BaseAdaptor.java:250)
    at org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start(SystemBundleActivator.java:60)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:554)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
    ... 12 more

我已经检查了这些链接以解决我的问题。但他们都不为我工作。安装Eclipse IDE时出错

正在尝试安装Eclipse IDE

共有1个答案

公孙茂学
2023-03-14

正如评论中所说,您使用的是一个非常旧的Eclipse版本,而您使用的是一个较新的java版本。该版本的Eclipse不支持该版本的java,因此您将得到一个错误。因此,下载最新版本的Eclipse。

 类似资料:
  • 好吧,我遇到了一个错误,我不太清楚为什么,希望您能提供帮助。当我尝试运行它时,会遇到以下问题。 线程“main”java中出现异常。util。java中的NoSuchElementException。util。扫描仪。java上的throwFor(Scanner.java:907)。util。扫描仪。下一步(Scanner.java:1530)在java。util。扫描仪。nextInt(Scan

  • C:\Users\Utkarsh 我得到了上述错误!我已经安装了python v3.10版 我还尝试从whl文件安装torch,但也出现了错误,如:[在此处输入图像描述][1]C:\Users\Utkarsh 怎么办[1]:https://i.stack.imgur.com/BdzmS.png

  • 我正在键入,但terminal给出了以下消息: checkPermissions缺少对/usr/local/lib/node_modules的写访问权npm错误!路径/usr/local/lib/node_modules npm错误!代码EACCES npm错误!错误-13 npm错误!syscall访问npm错误!错误:eAcces:权限被拒绝,访问'/usr/local/lib/node_mo

  • 我尝试了sudo安装和通过Finder手动更改权限,但都不起作用。我不确定为什么install react-navigation不可访问。 npm错误!路径/users/desktop/rutgerscapstone/rutgerscap/node_modules npm错误!代码EACCES npm错误!错误-13 npm错误!syscall访问npm错误!错误:eAcces:权限被拒绝,访问'

  • (venv)C:\ Users \ Jay MOH \ PycharmProjects \ Elisanta -Command“C:\ Users \ Jaymoh \ PycharmProjects \ Elisanta \ venv \ Scripts \ python . exe-u-C”导入setuptools,tokenizefile = ' C:\ Users \ Jay MOH \

  • 在Eclipse juno中安装TestNg时,我遇到错误 错误信息 缺少要求:TestNG Eclipse Support 7.2.0.202005051752(org.TestNG.Eclipse 7.2.0.202005051752)需要“bundle org.Eclipse.jdt.launting 3.10.0”,但找不到,无法满足依赖项:from:TestNG 7.2.0.202005