kenkyee
09/25/2023, 3:05 PMException 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
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).Aleksei Tirman [JB]
09/25/2023, 4:20 PMkenkyee
09/25/2023, 4:36 PMephemient
09/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
sciack
09/26/2023, 3:02 AMkenkyee
09/26/2023, 2:01 PMif 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
sciack
09/28/2023, 2:16 AMrunDistributable
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.