| ▲ | mike_hearn 3 hours ago | |||||||
Bundling a JDK with the app is the officially sanctioned way to ship Java apps since Java 9, so for over a decade now. | ||||||||
| ▲ | Hendrikto 2 hours ago | parent | next [-] | |||||||
The JDK is too big for every app to do that, imo. | ||||||||
| ||||||||
| ▲ | well_ackshually an hour ago | parent | prev [-] | |||||||
You mean a JRE, because the whole JDK contains a bunch of things you're never going to need. Mind you, a default JRE redistribution makes your app at least 100+MB. Using jdeps to strip out unneeded things is a good idea if you want it to get down to 25 ish MBs. | ||||||||