kenkyee09/25/2023, 3:05 PM
Does Ktor have to target JDK11? i.e. can it target JDK8? This seems like a fairly common use case (especially on OSX where Apple decided to ship w/ JDK8 by default).
Exception in thread "main" java.lang.UnsupportedClassVersionError: io/ktor/client/engine/java/JavaHttpEngineContainer 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
Aleksei Tirman [JB]09/25/2023, 4:20 PM
kenkyee09/25/2023, 4:36 PM
ephemient09/25/2023, 10:24 PM
(especially on OSX where Apple decided to ship w/ JDK8 by default).Apple doesn't ship any Java anymore, and I don't think they were ever on 8
sciack09/26/2023, 3:02 AM
kenkyee09/26/2023, 2:01 PM
if you package for the OS, compose will use JPackage and the runtime will be shipped togetherThis actually sounds like what I want...how do you specify the JRE that gets bundled? I couldn't find anything obvious here: https://github.com/JetBrains/compose-multiplatform/blob/master/tutorials/Native_distributions_and_local_execution/README.md
sciack09/28/2023, 2:16 AM
that create a distributable image and run it without installing. For mac not sure if it's able to create a arm64/intel version, something you have to verify by yourself or check the documentation.