Can I use Sparkle to update my JVM application? #2239
Replies: 1 comment 2 replies
-
Sparkle doesn't require Xcode-specific things. You'd have to look at the programmatic setup and updater APIs available in addition to the rest of the documentation. This means you will have to figure out how to bundle another Obj-C framework in your app and talk to Obj-C APIs. At worst you may have to go through JNI. Edit: you may also need to ensure the runloop is set up correctly.. I imagine you'd similarly already have to be going through some hoops like bundling the JRE in your app so users don't have to install Java, which is what modern Java based applications do these days on the Mac. This is the general approach anyway that other UI toolkits (e.g. Qt also) do to use Sparkle anyway. I believe one of Oracle's apps use Sparkle and apps like Cyberduck use Sparkle (although it has a cocoa frontend). |
Beta Was this translation helpful? Give feedback.
-
I'm releasing a JVM application that doesn't live inside of an xcode project. It compiles via jpackage to a .app folder that is distributed via DMG.
How could I integrate Sparkle with my app to update my app, that doesn't live inside an xcode project?
Beta Was this translation helpful? Give feedback.
All reactions