如果我在我的Eclipse插件中将JavaSE-10指定为最小执行环境:
在Eclipse应用程序启动插件时出现以下错误:
org.osgi.framework.BundleException: Could not resolve module: org.treez.core [597]
Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=10))"
Unresolved requirement: Require-Bundle: org.treez.javafxd3; visibility:="reexport"
-> Bundle-SymbolicName: org.treez.javafxd3; bundle-version="1.0.0.qualifier"; singleton:="true"
org.treez.javafxd3 [586]
Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=10))"
at org.eclipse.osgi.container.Module.start(Module.java:444)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1634)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1613)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1585)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1528)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Run Code Online (Sandbox Code Playgroud)
我查了一下
我使用Oxygen.3a Release(4.7.3a)Build id:20180405-1200
=>这是eclipse equinox中的一个错误吗?
=>我还可以检查以解决此问题?
如果我从最小执行环境设置中删除JavaSE-10,我就可以启动Eclipse应用程序,并且该插件似乎工作正常.
当我导出插件时,我收到以下警告:
# 25.04.18, 12:25:40 MESZ
# Eclipse Compiler for Java(TM) v20180330-0919, 3.13.102, Copyright IBM Corp 2000, 2015. All rights reserved.
option -bootclasspath not …Run Code Online (Sandbox Code Playgroud) 目前我正在使用tycho来构建和打包我的eclipse RCP应用程序与java 8和eclipse 4.8,(JMSToolBox)
对于Windows发行版,tycho构建过程将JRE v8(Oracle)"复制"到"jre"目录中的分发包中蚂蚁任务
我正在升级到eclipse RCP 2018-09和Java 11(OpenJDK)
出现2个问题:
"jlint"使用我的应用程序使用的eclipse-rcp插件上的一些JDK工具构建特定的JRE ?我很想找到一个正在运行的tycho pom.xml文件的例子