按照这个指令,我可以在Eclipse IDE中运行无头Eclipse插件.

我有一些错误日志信息,但我想我可以根据这篇文章忽略它 - 无法在目录中找到feature.xml

按照站点中的说明,我可以生成jar文件.复制org.eclipse.equinox.launcher.jar后,我尝试执行jar文件
java -jar org.eclipse.equinox.launcher_1.2.0.v20110502.jar -application headlessHello_1.0.0.201210101430.jar
Run Code Online (Sandbox Code Playgroud)
我试过了
java -cp .:org.eclipse.equinox.launcher_1.2.0.v20110502.jar org.eclipse.core.launcher.Main -application headlessHello_1.0.0.201210101430.jar
Run Code Online (Sandbox Code Playgroud)
获取错误消息
An error has occurred. See the log file
/Users/users/Desktop/configuration/1349897444823.log
Run Code Online (Sandbox Code Playgroud)
使用此日志文件
!SESSION Wed Oct 10 14:30:44 CDT 2012 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2012-10-10 14:30:44.843
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.RuntimeException: Could not find framework
at org.eclipse.equinox.launcher.Main.getBootPath(Main.java:978)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:557)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Run Code Online (Sandbox Code Playgroud)
从这个网站,问题是因为我没有%R2_HOME%/plugins正确设置.设置完成后,我仍然收到错误.
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the …Run Code Online (Sandbox Code Playgroud)