Congrats on cracking the Mac notarization feature and other nightmare in the Mac release chain!
JDeploy – Deploy desktop Java apps as native bundles on Mac, Linux, and Windows
61–70 of 133 posts
Re: JDeploy – Deploy desktop Java apps as native bundles on Mac, Linux, and Windows
#62I appreciate the effort, Desktop Java is a viable platform. I however, am not interested in using it due to the NPM aspect. Get ready, this won't be popular but it feels like if my toe were on fire an I dowsed it with gasoline to put out the fire.
> I however, am not interested in using it due to the NPM aspect Some people (here and elsewhere) have expressed similar sentiments about NPM. What would be your preferred alternative? Self hosted? Github releases? Originally I built it to be self hosted, but NPM was just so darned easy to work with and made the process smoother, so I focused on that. NPM is really just a CDN in this context.
For the Mac: Brew, or just a download from a website.
For Linux: Download from a website or PPAs.
Again if NPM works, just stick with it, even if it weird.
Re: JDeploy – Deploy desktop Java apps as native bundles on Mac, Linux, and Windows
#63Earlier quoted context omitted.
> Relying on npm seems a bit awkward. 1. npm solves a few problems here. By publishing to npm, the app is instantly available to be downloaded and installed by users. 2. Auto updating. The launcher will automatically check for updates on launch, and download them if any are found so that users are always working with your latest version. I may add support for other CDNs - and originally I just had it so you self host…
I had tried uploaded dmg to github (free hosting) and using github actions for the signing and notarization. Plus update4j for the automatic updates. All worked fine except for the notarization, never cracked this one.
- [0]: https://github.com/Folcon/fruit-economy/blob/185d49f120bac18...
Re: JDeploy – Deploy desktop Java apps as native bundles on Mac, Linux, and Windows
#64This is a passion project of mine to make it easier to deploy Java desktop apps. I'm very happy with the result, as IMO, the process is orders of magnitudes simpler than what we had before. Some features include: - Native installers for Mac, Windows, and Linux - Build native bundles for all platforms from any platform (e.g. You don't need Mac to make a Mac app. You don't need Windows to make a Windows app, etc..) - A…
Do JBundle'd apps support native full screen size (not just expanding to fill the size of the screen, which allows other app windows to appear in front/behind), and native keyboard shortcut behaviour?
Re: JDeploy – Deploy desktop Java apps as native bundles on Mac, Linux, and Windows
#65This looks very impressive. "You must have a Mac to make a Mac binary" has always been an annoying shortcoming of jpackage, especially for smaller or independent developers. Congrats, and thanks. This is going to be very useful for many developers.
Re: JDeploy – Deploy desktop Java apps as native bundles on Mac, Linux, and Windows
#66You might want to consider spelling codesigning as two separate words. The meaning / interpretation “co-designing” might be more prevalent for some users when spelled together. :)
Re: JDeploy – Deploy desktop Java apps as native bundles on Mac, Linux, and Windows
#67This is a passion project of mine to make it easier to deploy Java desktop apps. I'm very happy with the result, as IMO, the process is orders of magnitudes simpler than what we had before. Some features include: - Native installers for Mac, Windows, and Linux - Build native bundles for all platforms from any platform (e.g. You don't need Mac to make a Mac app. You don't need Windows to make a Windows app, etc..) - A…
This looks very cool. What Java framework(Swing, FX etc) would you recommend for a desktop Java app?
Re: JDeploy – Deploy desktop Java apps as native bundles on Mac, Linux, and Windows
#68https://github.com/JOSM/josm/blob/master/native/macosx/macos... is my macos script, https://github.com/JOSM/josm/blob/master/native/windows/win-... is the windows script, and for how it moves, see https://github.com/JOSM/josm/blob/master/.github/workflows/a...
Re: JDeploy – Deploy desktop Java apps as native bundles on Mac, Linux, and Windows
#69Looking at it with Signet, I get:
SwingSet2 Installer-1.0.5_255W/SwingSet2 Installer-1.0.5_255W.app error -67023 invalid resource directory (directory or signature have been modified)
The JavaFX Ensemble 8 Installer-1.0.8_255X app opens, but the experience is very un-Mac-like: the app is really a custom installer, and it places an app in `~/Applications/jDeploy Apps` instead of the expected /Applications. The resulting application then doesn't have the expected
The Unarchiver didn't like the JavaFX Ensemble 8 Installer-1.0.8_255X.tar.gz file, complaining about not being able to extract the Resources directory.
Re: JDeploy – Deploy desktop Java apps as native bundles on Mac, Linux, and Windows
#70Earlier quoted context omitted.
This looks very cool. What Java framework(Swing, FX etc) would you recommend for a desktop Java app?
FWIW, there's JetBrains's JetBrainsRuntime project [1] containing Swing patches for eg HiDPI support and other things. Haven't worked with it, nor do I have a stake in it; just mentioning it because JetBrain are one of the few companies delivering kick-ass, commercially successful, mainstream desktop software using Java/Swing today. [1]: https://github.com/JetBrains/JetBrainsRuntime