Re:Making Games with Kotlin
by matsemann on Wednesday December 11, 2019 @04:03AM
(#21760772)
One usually just bundles a jre and package the whole thing to a binary[0]. You wouldn't even know the game you're playing is running java. One could probably improve this further with modules and the newer additions to java/jvm (jlink).
Re:Making Games with Kotlin
by dharmab on Wednesday December 11, 2019 @07:56AM
(#21761935)
Yup, with jlink you don't need to ship a full JRE, just the parts your binary actually uses. The user just runs a small binary and doesn't need to install and update a separate JRE.
[0]: https://github.com/libgdx/libgdx/wiki/Bundling-a-JRE