Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

JRE has been replaced by jlink on Java 9.

Each application is supposed to create their customised runtime.



Debian and Fedora instructions for packaging Java apps do not recommend jlink. Modules only pay off for an embedded system with just one app.

I've been out of the Windows world for years, but there appears to be an MSI story to require a JVM.


Good luck building a JRE yourself then, given that is not the way modern Java works.


Declaring a dependency on https://packages.debian.org/buster/default-jre makes apt install the LTS release. A lot of comments here are actually advocating static linking, which is kind of a shock—I don’t see a good reason for it at all.


Except it is up to Debian to keep that JRE running, as it is no longer part of default Java builds.

All the JRE after Java 9 have to be maintained by the community, if they care to still use them.

JRE don't work on the days of App Stores, even Google has finally grasped that ART cannot be part of the OS and has taken the steps to ship it out of band on Android 12.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: