BaseX 10.0 and Java 11 requirement

Monday, 1 August 2022 · 2 messages · last reply 2 Aug 2022
CG
Christian Grünin reply to ykhabins, 2 Aug 2022, 00:301 Aug 2022 23:01 #

Hi Yitzhak,

Thanks for your feedback.

Quoted text · ykhabins · 6 lines
> First computer (Windows 10 OS) > - I installed Java JDK jdk-18_windows-x64_bin.exe > - Installation of the BaseX 10.0 went without any problem. > BaseX GUI is working without any problems. > > Second computer (Windows 10 OS) is giving me a grief.

Can you tell if there are any differences between the two machines?

Quoted text · ykhabins · 2 lines
> (1) At the command prompt, c:\>java --version, shows the following > java 18.0.2 2022-07-19

I’ve just installed the same version of the Oracle JDK binary as you did, and "java -version" gives me a slightly different output:

java version "18.0.2" 2022-07-19 Java(TM) SE Runtime Environment (build 18.0.2+9-61) Java HotSpot(TM) 64-Bit Server VM (build 18.0.2+9-61, mixed mode, sharing)

For some reason, the quotes seem to be missing in your version. Maybe we can convince our installer (which indeed relies on the java -version output) to ignore quotes?

Until then, I assume the Adoptium distributions should do the job [1]?

Best, Christian

[1] https://docs.basex.org/wiki/Startup

Y
ykhabins2 Aug 2022 00:30 #

Hello,

Congrats on the BaseX 10.0 release.

I tried to install BaseX 10.0 on my two computers.

First computer (Windows 10 OS) - I installed Java JDK jdk-18_windows-x64_bin.exe - Installation of the BaseX 10.0 went without any problem. BaseX GUI is working without any problems.

Second computer (Windows 10 OS) is giving me a grief. - I installed the same Java JDK jdk-18_windows-x64_bin.exe - Installation of the BaseX 10.0 is producing the following error message: " Please install Java 11 or higher before executing the installer."

My troubleshooting steps: (1) At the command prompt, c:\>java --version, shows the following java 18.0.2 2022-07-19 Java(TM) SE Runtime Environment (build 18.0.2+9-61) Java HotSpot(TM) 64-Bit Server VM (build 18.0.2+9-61, mixed mode, sharing)

(2) I added to the System Environment Variable Path, the following: c:\Program Files\Java\jdk-18.0.2\bin\

So far, no progress. The same " Please install Java 11 or higher before executing the installer." error message.

Pleas advise.

Regards, Yitzhak Khabinsky


⚡Generated with XQuery