https://kotlinlang.org logo
#compose-desktop
Title
# compose-desktop
c

CLOVIS

12/13/2023, 4:18 PM
Does Compose for Desktop not respect Gradle JVM toolchains? I have
Copy code
kotlin {
	jvmToolchain(20)
}
but
:run
fails with
Copy code
Error: LinkageError occurred while loading main class […].demo.MainKt
	java.lang.UnsupportedClassVersionError: […]/demo/MainKt has been compiled by a more recent version of the Java Runtime (class file version 64.0), this version of the Java Runtime only recognizes class file versions up to 63.0
k

Konstantin Tskhovrebov

12/13/2023, 4:38 PM
could you share a reproducer on the https://github.com/JetBrains/compose-multiplatform/issues , please?
👍 1
3 Views