java - 安装 Eclim 时出错, "SKProfile"不是有效标识符

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

我正在尝试在 Windows 10 下的 Debian Windows Linux 子系统 (WSL) 虚拟机上安装 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)

最佳答案

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

关于java - 安装 Eclim 时出错, "SKProfile"不是有效标识符,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52169993/

相关文章:

java - 引用外部 Java 和 Android 库

java - 用 jwrapper 构建的 jar 不起作用

java - 在Ubuntu上安装Eclipse增量Java编译器而不安装Eclipse?

java - 如何使用Httpclient的GET方法访问flashplayer

android - 在 ANDROID_HOME Windows 7 x64 中找不到 Adb

php - 更新到 WSL2 后无法从 PhpStorm 连接到 Xdebug

swift repl 在 linux 的 windows 子系统中不起作用

azure - WSL2 上的 powershell 浏览器访问

Android:无法更新到 Android SDK 工具,修订版 7

ios - UIColor `-colorWithPatternImage:` alpha 混合问题解决方案。 (iOS SDK 4.1)