3 ms·
Show HN: Capsule – Simple Packaging and Deployment for JVM Apps
- _pmf_ 13y ago> One-Jar does support native libraries, but uses class-loader hacks that may interfere with the application in even subtler ways. How does Capsule solve the issue? With the good ole "unpack to temp directory" trick?
- pron 13y agoYes. But the cool thing is that it lets you specify JVM arguments, system properties etc., and best of all, it downloads maven dependencies (listed in the manifest) at runtime (when the capsule is first launched).
- icebraining 13y agoI don't know Maven, where are the dependencies downloaded from? The Web? Isn't there a significant danger that the capsule will fail to launch due to some network glitch?
- pron 13y agoBy default, from the Web, but you can host a local Maven repository inside your organization, or, you can choose to embed all dependencies in the capsule.
- bokchoi 13y agoThis looks interesting. I've been looking at using getdown[0] for a desktop java app to push updates. It's unfortunate that launching java and updating apps is so terrible given the otherwise excellent cross-platform nature of the jvm. [0] https://github.com/threerings/getdown https://github.com/threerings/getdown