Where and how BaseX installer got into old Java v1.6 and missed a legitimate
Eclipse Temurin JRE with Hotspot 17.0.8.1+1?

Good question. We would need to better understand the NSIS installer code [1]. The installer provided dedicated Java checks, but those did not work with newer JDK versions anymore, which is why we switched to the basic 'java -version' call.

If someone has worked with NSIS in the past, feel free to share your knowledge.


 

c:\>java -version shows the following
openjdk version "17.0.8.1" 2023-08-24
OpenJDK Runtime Environment Temurin-17.0.8.1+1 (build 17.0.8.1+1)
OpenJDK 64-Bit Server VM Temurin-17.0.8.1+1 (build 17.0.8.1+1, mixed mode,
sharing)

c:\>path shows the following:
PATH=C:\Program Files\Eclipse
Adoptium\jre-17.0.8.101-hotspot\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOW
S\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WI
NDOWS\System32\OpenSSH\;C:\Windows\CCM;C:\Program
Files\Eclypsium\;C:\Program Files (x86)\Microsoft SQL
Server\160\DTS\Binn\;C:\Program
Files\Azure Data
Studio\bin;C:\Users\i300179\AppData\Local\Microsoft\WindowsApps;

Overall, that's a lot for such a great support of the product.

Regards,
Yitzhak Khabinsky