[英]Boot error contains org.eclipse.core.runtime bundle, but it isn't osgi.bundles at fault
I attempted to install PyDev running Eclipse as my usual user. 我试图以通常的用户身份安装运行Eclipse的PyDev。 This failed with errors about not being able to write to the file system, so I restarted Eclipse as root and followed the usual steps: Help -> Add Software . 该操作失败,并显示有关无法写入文件系统的错误,因此我以root身份重新启动了Eclipse,然后按照通常的步骤进行操作: 帮助 -> 添加软件 。 This instance of Eclipse already had the Perl dev add-on that has worked for years, in case this is relevant. Eclipse的这个实例已经具有运行了多年的Perl开发插件,以防万一。
I have tried what is in "Unable to acquire application service" error while launching Eclipse . 启动Eclipse时,我尝试了“无法获取应用程序服务”错误 。
This is running in a VM running an Ubuntu 16.04 guest OS with 4.15.0-43-generic Linux kernel. 这是在运行带有4.15.0-43-通用Linux内核的Ubuntu 16.04来宾OS的VM中运行的。
java -version
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-2ubuntu0.16.04.1-b12)
OpenJDK Server VM (build 25.191-b12, mixed mode)
Here is the log when I try to run Eclipse and run ./eclipse -clean
这是我尝试运行Eclipse并运行./eclipse -clean
时的日志
!SESSION 2019-02-04 15:40:35.236 -----------------------------------------------
eclipse.buildId=4.4.2.M20150204-1700
java.version=1.8.0_191
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_AU
Framework arguments: -product org.eclipse.epp.package.standard.product
Command-line arguments: -os linux -ws gtk -arch x86 -product org.eclipse.epp.package.standard.product
!ENTRY org.eclipse.osgi 4 0 2019-02-04 15:40:36.962
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:78)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
I just reinstalled eclipse and installed EPIC and PyDev. 我只是重新安装了eclipse并安装了EPIC和PyDev。 Note that eclipse 3.8 requires the right PyDev site for 4.5.5, not the default. 请注意,Eclipse 3.8需要正确的PyDev站点用于4.5.5,而不是默认站点。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.