Sebastian Schuberth
06/12/2026, 10:52 AMkotlin CLI in version 2.4.0 stop to support the @file:CompilerOptions("-jvm-target", "25") annotation in .main.kts scripts? Because I'm getting
> error: cannot inline bytecode built with JVM target 25 into bytecode that is being built with JVM target 1.8. Specify proper '-jvm-target' option.
although I am declaring to use Java 25...ilya.chernikov
06/17/2026, 2:27 PMSebastian Schuberth
06/17/2026, 2:32 PMSebastian Schuberth
06/17/2026, 2:38 PMSebastian Schuberth
06/17/2026, 2:39 PMKotlin version 2.4.0-release-281 (JRE 21.0.11+10-LTS). I'm pretty sure it was working with Kotlin 2.3.*. I'll try to downgrade to verify.Sebastian Schuberth
06/17/2026, 2:54 PMSebastian Schuberth
06/17/2026, 4:15 PMSebastian Schuberth
06/18/2026, 2:55 PMilya.chernikov
06/18/2026, 4:48 PMSebastian Schuberth
06/18/2026, 4:49 PMSebastian Schuberth
06/18/2026, 5:11 PM