eclipse tycho + java 11 = 未知 OSGi 执行环境:'JavaSE-11'
eclipse tycho + java 11 = Unknown OSGi execution environment: 'JavaSE-11'
如何使用 tycho 基于 Java 11 构建 eclipse RCP 应用程序?
我正在使用 eclipse 2018-09 RCP + Java 11 插件 + OpenJDK 11
我的应用程序是基于插件的,在所有插件中,MANIFEST.MF
文件包含:
Bundle-RequiredExecutionEnvironment: JavaSE-11
tycho 构建失败,出现以下异常:
[ERROR] Internal error: org.eclipse.tycho.core.osgitools.OsgiManifestParserException: Exception parsing OSGi MANIFEST {...}\META-INF\MANIFEST.MF: Unknown OSGi execution environment: 'JavaSE-11' -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: org.eclipse.tycho.core.osgitools.OsgiManifestParserException: Exception parsing OSGi MANIFEST {...}\META-INF\MANIFEST.MF: Unknown OSGi execution environment: 'JavaSE-11'
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:120)
{...}
Caused by: org.eclipse.tycho.core.ee.UnknownEnvironmentException: Unknown OSGi execution environment: 'JavaSE-11'
at org.eclipse.tycho.core.ee.ExecutionEnvironmentUtils.getExecutionEnvironment(ExecutionEnvironmentUtils.java:84)
at org.eclipse.tycho.core.osgitools.OsgiManifest.parseExecutionEnvironments(OsgiManifest.java:66)
... 24 more
tycho 与 Java 11 兼容吗?如果是,如何配置它以构建 java 11 个 RCP 应用程序?
非常相似(对于 Java 10...)
使用 eclipse RCP v2018-12 (v4.10) + eclipse tycho v1.3.0 解决了我所有的问题
JMSToolBox 现在与 Java 一起开发和分发 11
(另请参阅 post 打包 Java 11 JRE)
如何使用 tycho 基于 Java 11 构建 eclipse RCP 应用程序?
我正在使用 eclipse 2018-09 RCP + Java 11 插件 + OpenJDK 11
我的应用程序是基于插件的,在所有插件中,MANIFEST.MF
文件包含:
Bundle-RequiredExecutionEnvironment: JavaSE-11
tycho 构建失败,出现以下异常:
[ERROR] Internal error: org.eclipse.tycho.core.osgitools.OsgiManifestParserException: Exception parsing OSGi MANIFEST {...}\META-INF\MANIFEST.MF: Unknown OSGi execution environment: 'JavaSE-11' -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: org.eclipse.tycho.core.osgitools.OsgiManifestParserException: Exception parsing OSGi MANIFEST {...}\META-INF\MANIFEST.MF: Unknown OSGi execution environment: 'JavaSE-11'
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:120)
{...}
Caused by: org.eclipse.tycho.core.ee.UnknownEnvironmentException: Unknown OSGi execution environment: 'JavaSE-11'
at org.eclipse.tycho.core.ee.ExecutionEnvironmentUtils.getExecutionEnvironment(ExecutionEnvironmentUtils.java:84)
at org.eclipse.tycho.core.osgitools.OsgiManifest.parseExecutionEnvironments(OsgiManifest.java:66)
... 24 more
tycho 与 Java 11 兼容吗?如果是,如何配置它以构建 java 11 个 RCP 应用程序?
使用 eclipse RCP v2018-12 (v4.10) + eclipse tycho v1.3.0 解决了我所有的问题
JMSToolBox 现在与 Java 一起开发和分发 11
(另请参阅