Curious how many folks here experimented with the now depreciated Ahead-of-Time Compilation feature?
GraalVM native image is far better, it "compiles" more slowly but the resulting executable is not too big.
But since Java, the language is highly backward compatible, one can trivially use Graal as is (without the preview features though)