我尝试以通常的用户身份安装运行Eclipse的PyDev。由于无法写入文件系统而导致错误失败,因此我以root身份重新启动Eclipse,并遵循通常的步骤: Help -> Add Software 。如果相关,Eclipse的这个实例已经使用了多年的Perl开发插件。
我尝试了"Unable to acquire application service" error while launching Eclipse中的内容。
这在运行Ubuntu 16.04来宾操作系统的VM中运行 4.15.0-43通用Linux内核。
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)
这是我尝试运行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)
答案 0 :(得分:0)
我刚刚重新安装了eclipse并安装了EPIC和PyDev。 请注意,eclipse 3.8需要正确的PyDev站点用于4.5.5,而不是默认站点。