Error trying to run LZ Beta 2 on a Ubuntu 22.04 variant

Greetings,

I’m getting this error on my Elementary OS v7.1 (Ubuntu 22.04 variant) when running LightZone Beta 2:

Starting LightZone version 5.0.0 beta2 …
with options :
openjdk version “11.0.28” 2025-07-15
OpenJDK Runtime Environment (build 11.0.28+6-post-Ubuntu-1ubuntu122.04.1)
OpenJDK 64-Bit Server VM (build 11.0.28+6-post-Ubuntu-1ubuntu122.04.1, mixed mode, sharing)
/usr/share/java/lightzone/:/usr/share/java/
Error: LinkageError occurred while loading main class com.lightcrafts.platform.linux.LinuxLauncher
java.lang.UnsupportedClassVersionError: com/lightcrafts/platform/linux/LinuxLauncher has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0

Any thoughts would be appreciated.

You need to upgrade your Java version. Java 11 is too old to run that build. You’ll need Java 17 or later. The package name is probably something like openjdk-jre.