MichaIng / DietPi

Lightweight justice for your single-board computer!
https://dietpi.com/
GNU General Public License v2.0
4.86k stars 496 forks source link

DietPi-Software | Separating JDK and JRE #2400

Closed MichaIng closed 3 years ago

MichaIng commented 5 years ago

I thought longer about separating JDK and JRE in dietpi-software, since currently in some cases the JDK is installed, even that only the JRE is required.

But now I read about his: https://www.reddit.com/r/java/comments/9ovani/java_11_jre/

Since Java 11 is LTS as well (compared to fast dropped/superseded Java 9 and 10), I think earlier or later our software will switch to Java 11, so there is not much point anymore in doing the effort to separate those.

I will add a list of Java software here to regularly check, if it ships is Java 11 JRE already or allows to be build with Java 11 JDK.


Yay, PDFsam already ships an update to address this: https://pdfsam.org/blog/ 😃

MichaIng commented 5 years ago
ID Name Requirement
33 Airsonic 🈯️ JRE 8, Java 9 support has not even finished:
- https://github.com/airsonic/airsonic/issues/611
- https://github.com/airsonic/airsonic/issues/760#issuecomment-399767637
- https://github.com/Fourdee/DietPi/pull/2410#issuecomment-453856627
34 Subsonic Requires Java 8, the Windows installer has just been bundled with it: http://www.subsonic.org/pages/changelog.jsp
But possibly, since we use our own built deb packages, the JRE is sufficient, no JDK required?
80 Ubooquity JRE8: https://vaemendis.github.io/ubooquity-doc/pages/installation-guide.html
53 MineOS JRE8: https://github.com/hexparrot/mineos-node#installation
164 Nukkit JRE8 (or above): https://nukkitx.com/wiki/nukkit-installation/#prerequisites
133 YaCy States to require JDK8 on the homepage, but in the video just JRE is installed (love that crippled German accent English 🤣): https://yacy.net/de/index.html
Checked the start script and jep, JRE should be sufficient, although as always testing makes sense.
131 Blynk Java 11 capable, but runtime environment seems to be not included: https://github.com/blynkkk/blynk-server#quick-local-server-setup
125 Tomcat8 JDK required, no info about min/max version: https://tomcat.apache.org/tomcat-8.5-doc/setup.html#Unix_daemon

Interesting side-note from Airsonic: https://airsonic.github.io/docs/install/prerequisites/

NOTE: if you are running Airsonic on an ARM platform and you experience extremely long startup times (on the order of 20-30 minutes), you should install Oracle’s JDK/JRE. There are known performance issues with OpenJDK under ARM.

MichaIng commented 3 years ago

PR up to implement with DietPi v7.5: #4593