pdfsam icon indicating copy to clipboard operation
pdfsam copied to clipboard

MSI Installer : add an option to not install JDK (Liberica JDK by BellSoft)

Open Binnette opened this issue 5 months ago • 2 comments

Hi, can you add an option in the MSI installer to allow user to NOT install the embedded JDK ?

It seems that the embedded JDK in Liberica JDK by BellSoft: https://bell-sw.com/liberica_eula/

The fact is that I already have a global Temurin JDK installed and would prefer to not install another one.

And yes, I don't want to spend time reading and accepting Liberica Licence since I already accepted Temurin one.

Binnette avatar Jul 23 '25 08:07 Binnette

Hello @Binnette, we are not so sure about this change, as we feel it could cause problems to other users. By integrating the JDK too, we are sure to have a working setup/environment for the app.

You can however choose to not use the one we bundle by setting an environmental variable on the system as described here. Please let us now if this solution works for you. Regards, Alessandro

palexdev avatar Aug 07 '25 13:08 palexdev

Hi @palexdev, it seems that "Liberica JDK is copyrighted software" as stated in the main page : https://bell-sw.com/liberica_eula/

So people wanting to use pdfsam have to deal with this license problem. Note that I choose Temurin JDK because it is OpenSource.

So I really think that adding this option in the MSI installer is a good idea. Of course, you can check it by default and event write something like:

☑️ Install Liberica JDK RECOMMENDED (pdfsam won't work without JDK)

You can also even "hide" this option behind a checkbox like: ☑️ Advanced install options or something like so.

Thank for your answers @palexdev 😊👍

Binnette avatar Oct 01 '25 14:10 Binnette