Hello,

 

I’m new to BaseX. I’m on a Mac with an Apple M1 chip, running macOS 12.6.3. I downloaded the ZIP distribution of BaseX. When I open BaseX.jar I get an error message saying to check the console. When I run basexgui at the command line, I get this error:

 

Exception in thread "main" java.lang.UnsupportedClassVersionError: org/basex/BaseXGUI 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

 

I updated Java to the latest version, according to the download page at java.com and according to the Update tab in the Java control panel in System Preferences. Running java -version returns this:

 

java version "1.8.0_361"

Java(TM) SE Runtime Environment (build 1.8.0_361-b09)

Java HotSpot(TM) 64-Bit Server VM (build 25.361-b09, mixed mode)

 

However, I am still getting the same error when running basexgui. Is there a trick or workaround for this?

 

Thanks,

Greg