Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] creating an installer with tycho

That was my expectation: you don't want an installer, you just want to ship a JRE. That's a very different problem which has some more straightforward solutions.
And in any case, even if you want to use an installer, you'll need to cover the inclusion of a JRE similarly to how you'd cover it in a zip.

On Mon, Jan 7, 2019 at 11:45 AM Johan Compagner <jcompagner@xxxxxxxxxx> wrote:
We really should start working with the fact that on end users machines there is no java at all.

Embedding a JRE in an RCP application has been available for a long time and isn't really Tycho-specific. The most basic approach is to add a `-vm` in your config.ini with the path to a JRE that'd be in the same zip. p2 has some touchpoints to make this happen as part of a build or installation process easily.
With and related work at , there are even p2 units of AdoptOpenJDK builds that you can simply include in your feature/product and that configure a JRE for you (set the "-vm" arguments), that can be upgraded. While it's not yet used by the Eclipse IDE because of political difficulties, it's a valid approach. This is mostly based on

Mickael Istria
Eclipse IDE developer, for Red Hat Developers

Back to the top