eclipse RCP 2018-09 + OpenJDK 11 + tycho: how to package an application with the JRE?
Asked Answered
A

1

7

Currently I'm using tycho to build and package my eclipse RCP app with java 8 and eclipse 4.8, (JMSToolBox)
For windows distributions, the tycho build process "copies" the JRE v8 (Oracle) into the distribution package in the"jre"directory via an ant task

I'm in the process of upgrading to eclipse RCP 2018-09 and Java 11 (OpenJDK)

2 problems arise:

  • OpenJDK 11 does not provide a JRE OOTB. As I do not want to bundle the 300MB of the full JDK in the distribution, is there a way to embed only the equivalent of the JRE for java 11. With tycho itself? by building a specific JRE by using some JDK tools like"jlint"on the eclipse-rcp plugins used by my app?
  • Tycho and OSGI do not currently fully support Java 11, even with the java 11 plugin from the market place installed. See my other post on the subject here

I'm curious to find a running example of a tycho pom.xml file doing that

Agiotage answered 3/10, 2018 at 12:36 Comment(0)
A
0

It seems that Adopt OpenJDK provides a JRE for Java 11

Example for Java 11 with J9 on Windows x64: https://adoptopenjdk.net/releases.html?variant=openjdk11&jvmVariant=openj9#x64_win

Agiotage answered 7/12, 2018 at 13:56 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.