https://kotlinlang.org logo
Title
a

alorma

04/13/2023, 7:36 AM
Hello! We tried to upgrade to compile
1.4.5
and we found this error:
java.lang.UnsupportedClassVersionError: androidx/compose/compiler/plugins/kotlin/ComposeComponentRegistrar 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
Anyone else is facing the same issue? We use java 11, with kotlin 1.8.20 (setup acording to compose compiler update)
v

vide

04/13/2023, 7:38 AM
Yeah, there's a lot of discussion about it! TLDR:
1.4.5
requires JDK 17, but
1.4.6
is coming soon and it will support 11. • https://kotlinlang.slack.com/archives/CJLTWPH7S/p1681335595033629https://kotlinlang.slack.com/archives/CJLTWPH7S/p1681323339179339?thread_ts=1681323339.179339&cid=CJLTWPH7S
j

jim

04/19/2023, 5:54 PM
Compose Compiler 1.4.6 with support for Java11 toolchain is released: https://developer.android.com/jetpack/androidx/releases/compose-compiler#1.4.6