安装Eclim时出错,“ SKProfile”不是有效的标识符

时间:2018-09-04 15:48:01

标签: java sdk windows-subsystem-for-linux eclim

我正在尝试在Windows 10下的Linux(WSL)虚拟机的Debian Windows子系统上安装Eclim,似乎我的问题与SDK有某种关系,但是我不确定如何解决这个。任何帮助将不胜感激。下面是我的包含堆栈跟踪的日志文件。

!SESSION 2018-09-04 15:19:20.348 -----------------------------------------------
eclipse.buildId=debbuild
java.version=1.8.0_181
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -refresh -application org.eclipse.equinox.p2.garbagecollector.application
Command-line arguments:  -os linux -ws gtk -arch x86_64 -clean -refresh -application org.eclipse.equinox.p2.garbagecollector.application

!ENTRY org.eclipse.equinox.p2.engine 4 4 2018-09-04 15:19:47.152
!MESSAGE An error occurred while installing the items
!SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2018-09-04 15:19:47.152
!MESSAGE session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]org.eclipse.ant.launching 1.0.200.dist, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction).
!SUBENTRY 1 org.eclipse.equinox.p2.touchpoint.eclipse 4 0 2018-09-04 15:19:47.152
!MESSAGE The artifact file for osgi.bundle,org.eclipse.ant.launching,1.0.200.dist was not found.

!ENTRY org.eclipse.osgi 4 0 2018-09-04 15:19:47.409
!MESSAGE Application error
!STACK 1
java.lang.IllegalArgumentException: "SDKProfile" is not a valid profile identifier.
        at org.eclipse.equinox.internal.p2.garbagecollector.Application.start(Application.java:51)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
        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:629)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

1 个答案:

答案 0 :(得分:0)

尝试安装最新的Eclipse 4.8.x(Photon),这是安装说明中的要求之一。这为我解决了。