Re:The decline and fall of Java on the desktop
by shannah78 on Thursday March 03, 2022 @08:51AM
(#30540957)
"at the cost of some npm shenanigans"
jDeploy developer here. No shenanigans, I swear. npm just simplified things. Some have expressed interest in adding self-hosting options, so I'll likely add support for that. It's open source too, so others could potentially add other hosting options also.
Re:The decline and fall of Java on the desktop
by thom on Thursday March 03, 2022 @11:24AM
(#30543004)
Yeah sorry I didn't mean anything underhanded, it's just a complication that made me reluctant to try it out initially. Honestly if you wanted to offer a whole turnkey commercial service with hosting and analytics and stuff I could imagine being drawn to that.
Re:The decline and fall of Java on the desktop
by kaliszad on Friday March 04, 2022 @06:46AM
(#30553413)
Thank you for the tips! At OrgPad, we currently use the system-wide JRE since we control the whole VM, this is not a huge issue. We build & deploy by just copying the (uber)jar and restarting the systemd service. Quite simple but I like to keep up with some other approaches and we never know, when we have to do a desktop app or something.
Worth also keeping an eye on jDeploy[3] which adds extra goodies like auto updates, at the cost of some npm shenanigans. Not something I've played with yet though.
1: https://docs.oracle.com/en/java/javase/17/docs/specs/man/jli...
2: https://docs.oracle.com/en/java/javase/17/docs/specs/man/jpa...
3: https://www.jdeploy.com/