On 06/12/2024 22:33, Patrick Durusau wrote:

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)

Error message:

Exception in thread "main" java.lang.UnsupportedClassVersionError: org/basex/BaseX has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

Apologies but I'm still on Windows but hope to return to Linux soon, but not today.

Is this a known problem? Thanks!


Yes, straight from the docs, Java 11 is a requirement:

First, ensure that an up-to-date version of the Java Runtime Environment (JRE) is available:

BaseX Version Minimum Java Version
10 11
9 8
8 7
older 6