The more helpful answer is to download the latest JDK, not from Oracle but from:
It's in the documentation but I was reading too quickly.
Patrick
On 12/6/2024 5:01 PM, Patrick Durusau wrote:
Thanks for the quick responses!
Java reports it is the latest version.
Thanks. God I hate windows.
Patrick
On 12/6/2024 4:39 PM, Graydon wrote:
On Fri, Dec 06, 2024 at 04:33:33PM -0500, Patrick Durusau scripsit:
Trying to run BaseX 11.6 on Windows 11 with Java:
java -version java version "1.8.0_431" Java(TM) SE Runtime Environment (build 1.8.0_431-b10) Java HotSpot(TM) Client VM (build 25.431-b10, mixed mode, sharing)
All of those say the java you're actually running is eight.
The fix is generally to switch the environment variable for JAVA_PATH or similar so that it's pointing at the Java 11 install.
-- Graydon