3 ms·
I think you can with 3rd party tools, as with Python, but why would you? If your app is literally a single executable with no additional resources, maybe it mak
by iforgotpassword 4y ago
I think you can with 3rd party tools, as with Python, but why would you? If your app is literally a single executable with no additional resources, maybe it makes sense, but otherwise, just bundle the JVM like jetbrains does.
And as you mostly use Java on the backend, you're probably running Linux where a free and open jre is packaged, so just target that and not worry about it ever.
- JackFr 4y ago> And as you mostly use Java on the backend, you're probably running in a container.
- ElectricalUnion 4y agoAssuming you have separate java services, do you really want to bundle a different "minimalistic jvm" on every container, or use containers that share the same base layers? If you use 200x images based on, say, `FROM docker.io/library/eclipse-temurin:17-jdk`, you only use 230MB + all other JAR/overlay layer sizes.