Base - JRE vs JDK

Hi all,

I am currently using the AdoptOpenJDK and in the process of embedding it in an NSIS installer.
The size is about 172 mb whereas the JRE is significantly smaller.

So the questions are, are there any performance issues using one or the other and is there any compelling reason to upgrade the version from time to time?

Thanks

Hello,

May be legal issues with JRE. Check → Important Oracle JDK License Update

Thank you, was wondering about that.

If you don’t know the difference, you want the JRE.

JRE/JDK is a matter of the operating system.

How to install Java (JRE/JDK) so that LibreOffice could use it?

Example Windows:

Install the correct JRE

… and is there any compelling reason to upgrade the version from time to time?

Yes, this reason exists for any software and for the highest possible security level to work on the PC. (it should be a superfluous question).

Thank you,

however at times new versions can be buggier or less secure than the predecessor.

Java is not LibreOffice.
You need the development kit to compile your own Java programs. You need the much smaller runtime environment to run other people’s Java programs.