r/java • • Jan 02 '25

How Java's Executable Assembly Jars Work

https://mill-build.org/blog/5-executable-jars.html
64 Upvotes

42 comments sorted by

View all comments

Show parent comment

2

u/vips7L Jan 02 '25

I’ve seen some other people do it by having a script that extracts the vm and jar from the blob and writes it to the file system, but that’s less than ideal. 

I think one of the challenges they’ve faced with the hermetic work is that libjvm.so couldn’t be statically linked. It’s all a bit over my head tbh.