2 ms·
This could well be a good opportunity to dig into jlink and jpackage and use that to build native installs for the different platforms, bundling the JDK. In my
by whartung 2y ago
This could well be a good opportunity to dig into jlink and jpackage and use that to build native installs for the different platforms, bundling the JDK.
In my experiments, I was able to pull it off for Mac and Windows, but Linux was still a bit wild west as to how to properly package it (for me), so they just get a fat jar. It's doable, I just didn't do it.
It helps if you use the Java modularity to trim down the runtime.
I was able to distribute my FX app (which requires platform specific binaries) that way.