by floatboth · 8y ago · 0 comments
Maven is already able to compile a the code with Java 6/Java 8 and the module-info with Java 9. With jlink, you can then create your own jdk and AOT the part of the code you want with jaotc.
Maybe those tools are too new and the perf are not great ?
JEP 295 says: "AOT compilation must be executed on the same system or a system with the same configuration on which AOT code will be used by Java application."
There is also a compiler for Kotlin that builds native binaries instead of JVM bytecode. It is a different project from the same company.