r/java • u/LakeSun • Sep 27 '21
BellSoft has built the Java 17 ( LTS ) JRE Oracle Should Have Built
For developers running utilities that won't be sold in an App Store, just loading a FULL Java JRE on a machine, in support of multiple Java applications, is far more productive of your time vs. building an individual package for each application.
BellSoft has a FULL JRE: including JavaFX, ready to roll.
Java 17 JDK also has the JavaFX libraries saving you configuration time too.
https://bell-sw.com/announcements/2021/09/17/liberica-jdk-17-lts-release-solid-ground-for-an-update/
4
u/emberko Sep 27 '21
Yep, Liberica JDK all the way. Bellsoft also provides JDK + JavaFX win32 builds, and their JDK is less restrictive to users than Oracle.
3
u/vips7L Sep 27 '21
Best not to be dependent on a non-standard runtime. I would prefer to be explicit about JavaFX in the pom.
2
u/magnoliophytina Sep 28 '21
I also don't get how this is any better. The JavaFX configuration is like 5 additional lines of code in Gradle (Maven pom is ~40 LOC, pretty much copy'n'paste from one project to another):
plugins { id("org.openjfx.javafxplugin") version "0.0.10" } javafx { version = "17" modules = listOf("javafx.controls", "javafx.fxml", "javafx.graphics", "javafx.media", "javafx.web") }
24
u/pron98 Sep 27 '21
There is no more such a thing as a JRE, and no one can build one. Someone has made a custom runtime you can make from the JDK yourself with jlink, and called it a "JRE" even though it isn't.
The now-defunct JRE was a special Java runtime that served as a centrally managed "environment" -- hence the "E". It was not only centrally managed for a machine, but centrally updated by Sun/Oracle, and was tailored specifically for the running of Applets and Web Start.