2 ms·
You can use Graal Native Image https://www.graalvm.org/22.0/reference-manual/native-image/ https://www.graalvm.org/22.0/reference-manual/native-image/ to produc
by lenkite 4y ago
You can use Graal Native Image https://www.graalvm.org/22.0/reference-manual/native-image/ https://www.graalvm.org/22.0/reference-manual/native-image/ to produce a single native executable. Example of a Java Micro-service framework that has first class support for this is Quarkus (https://quarkus.io/ https://quarkus.io/). See https://quarkus.io/guides/building-native-image https://quarkus.io/guides/building-native-image
For a plain Java app:
"Use Maven to Build a Native Executable from a Java Application"
https://www.graalvm.org/22.2/reference-manual/native-image/guides/use-native-image-maven-plugin/ https://www.graalvm.org/22.2/reference-manual/native-image/g...