2 ms·
I think the suggestion is to use native Linux binaries with static linking of any libraries and resources in the executable. Java programs would need to be com
by anonymous_sorry 4y ago
I think the suggestion is to use native Linux binaries with static linking of any libraries and resources in the executable.
Java programs would need to be compiled as a standard ELF. I think GraalVM can do this.
- threeseed 4y agoOnly some Java/Scala programs can be compiled as a single binary. It's been a concept that has been around for years but not progressing to the point where it comes close to negating the need for the JVM in a Production environment. In the meantime containers works today and is significantly more powerful and flexible.
- krageon 4y agoThe fallback scenario just embeds the interpreter inside of the binary. That still nets you a single binary, unless I'm missing something?