Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

To be fair, you can package a modern Java app into a single executable [1], without the entire JRE shipped inside.

Few people do that though.

[1]: https://www.graalvm.org/latest/reference-manual/native-image...



One of the reasons few people do that is because the build process becomes much more complicated. It's also much more complicated to do any sort of dynamic loading which is not terribly uncommon.


A native executable includes only ... the language runtime, and ...

How small is that compared to the JRE? Also I guess this means the program cannot load arbitrary classes?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: