Exception when update to ki-shell 0.5.1

Hi,
I tried to update ki-shell 0.5.1 but I have got an error using macOS Monterey or Win64:

c: > ki.bat
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/jetbrains/kotlinx/ki/shell/KotlinShell 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
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)

Something is wrong in my java installed but I don’t understand what.

solved I have installed jdk 18

but an other error now:

ki-shell 0.5.0/1.7.0
type :h for help
[0] var a = 17
java.lang.IllegalStateException: Unknown outcome
        at org.jetbrains.kotlinx.ki.shell.Shell.handleSuccess(Shell.kt:310)
        at org.jetbrains.kotlinx.ki.shell.Shell.doRun$evalSnippet(Shell.kt:197)
        at org.jetbrains.kotlinx.ki.shell.Shell.doRun(Shell.kt:230)
        at org.jetbrains.kotlinx.ki.shell.KotlinShell.main(KotlinShell.kt:52)

:grinning:Solved using ki-shell 0.5.1 and jdk 18

ki-shell 0.5.1/1.7.0
type :h for help
[0] var a = 18
[1] var b = 19
[2] var c = if (a>17) b else 20
[3] println(c)
19