How to set Java Runtime for the SME

Hello.
I want to start the SME from 2024.06-ext5. It seems, that the SME-Server required to have Java 17:

	java.lang.UnsupportedClassVersionError: org/springframework/boot/loader/launch/JarLauncher 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

How can I configure to run the SME with a different Java Runtime in Windows?

This “Batchfile approach” seems not to work:

set JAVA_HOME=....\A12.2024.06.05\bin\java\21.0.3+9
start "" "....\A12.2024.06.05\bin\simple-model-editor\11.6.0\Simple Model Editor.exe"

Thanks,
Stefan

Moin @stefan-cached-grove,
you should be able to override the Java runtime being used in the following file <PATH>/A12 Tools - 2024.06-ext4/bin/simple-model-editor/11.5.0/settings.json.

Then just insert your Java runtime you want to use, per default the SME bundles the runtime:

{"java":"../../java/21.0.3+9/Contents/Home/bin/java"}