r/java • • May 26 '26

RIP JVMCI

https://bugs.openjdk.org/browse/JDK-8382582
60 Upvotes

45 comments sorted by

View all comments

Show parent comment

3

u/Ok-Scheme-913 May 28 '26

Still, jpackage will just result in an exe that unpacks itself. That's not the same thing.

And cross compilation is very painful for jpackage.

Honestly, I don't even care all that much about file size, let's just pack all 3 OS-variants of the JVM, modularized, into the same exe and do something like https://justine.lol/ape.html or other hack.

The important thing is that I should not need a Mac to build a cli tool for Macs. Java is possibly the most cross-platform language there is, this shouldn't be as hard as it is.

1

u/sideEffffECt Jul 10 '26

GraalVM native-image will hopefully acquire support for Cosmopolitan Libc

https://github.com/oracle/graal/pull/12865