3 ms·
> 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 i
by _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.