Live data from Hacker News

JDeploy – Deploy desktop Java apps as native bundles on Mac, Linux, and Windows

jdeploy.com

31–40 of 133 posts

Re: JDeploy – Deploy desktop Java apps as native bundles on Mac, Linux, and Windows

#31

This looks extremely scary to me, they say you can avoid having to noterize your apps with apple and microsoft because their installers are already approved. What happens when someone publishes some malware application using their wrapped and noterized installer? Apple and microsoft will then flag all other applications that used jdeploy as malware as well since they are all relying on the same noterized installer ap…

I considered that. The approach I'm taking was inspired by the way that Chrome creates app bundles for PWAs. > What happens when someone publishes some malware application using their wrapped and noterized installer The installer application simply installs the app. It doesn't in itself run any of the app's code. The installed app doesn't need to be codesigned and notarized like it would if you had just downloaded it…

>The installer application simply installs the app. It doesn't in itself run any of the app's code. The installed app doesn't need to be codesigned and notarized

Wait, then doesn't that mean Apple's intent there is broken? I mean if you can bypass its controls on installing unsigned apps by merely wrapping an unsigned (possibly malicious) app in a signed installer, then what's the point?

Re: JDeploy – Deploy desktop Java apps as native bundles on Mac, Linux, and Windows

#32
post #27

Earlier quoted context omitted.

In my opinion, JavaFX is the Duke Nukem Forever of UI toolkits. It was supposed to be a "modern" replacement for Swing, ultimately blooming into a full-featured, rich GUI library. But it's now almost 15 years since JavaFX was introduced, and Swing is still much more capable and flexible. I would pick Swing over JavaFX in a heartbeat for a new app right now.

Also, Swing is just there, so for a simple app you don’t need to figure out dependencies or how to fit JavaFX into maven/gradle.

> figure out dependencies or how to fit JavaFX into maven/gradle.

I struggle with the same thing. jDeploy solves one half of that (deploying javafx is no longer a struggle). I think there is still room to make creating new projects simpler.

Re: JDeploy – Deploy desktop Java apps as native bundles on Mac, Linux, and Windows

#33

This actually serves an immediate need for us... we recently wrote a quite nice JavaFX desktop app to take care of some redundant data processing stuff and api pinging nonsense. Second coming of JNLP it looks like

Glad to hear! Please share them when you post them. Looking for more samples for the homepage. > Second coming of JNLP it looks like Yeah. JNLP always still felt a bit second class to me. The move to native bundles was, all in all, a good step, but the process was always too cumbersome.

Some day... some day. I'd like a desktop toolkit that's designed around CDI / but more generally the Dependency Injection pattern. Imagine being able to break your application into chunks and @Observe events from user inputs.... ah, one can dream. But in case you get bored ;) I'll put that bug in you ear

Re: JDeploy – Deploy desktop Java apps as native bundles on Mac, Linux, and Windows

#34
I 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.

Re: JDeploy – Deploy desktop Java apps as native bundles on Mac, Linux, and Windows

#36

I 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.

Re: JDeploy – Deploy desktop Java apps as native bundles on Mac, Linux, and Windows

#38

I 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.

To be fair if your target segment is not privacy focussed HN crowd, think of an alternative option instead of npm release, dont try to replace it tho. In real world very less people want to go thru the hurdle of seeing things up. HN crowd has been wrong in some huge projects. Take the feedback and implement if it makes sense to your target segment.

Re: JDeploy – Deploy desktop Java apps as native bundles on Mac, Linux, and Windows

#39
post #27

Earlier quoted context omitted.

In my opinion, JavaFX is the Duke Nukem Forever of UI toolkits. It was supposed to be a "modern" replacement for Swing, ultimately blooming into a full-featured, rich GUI library. But it's now almost 15 years since JavaFX was introduced, and Swing is still much more capable and flexible. I would pick Swing over JavaFX in a heartbeat for a new app right now.

Also, Swing is just there, so for a simple app you don’t need to figure out dependencies or how to fit JavaFX into maven/gradle.

I haven't seemed to be running into any problems ... yet ... with JavaFX maven dependencies. It pretty much Just Works(tm).

A single main dependency (org.openjfx/javafx-control) and a plugin (org.openjfx/javafx-maven-plugin) and you're off to the races. I don't install JFX into the JDK at all (not even sure, honestly, if that's still a thing).

I have more problems with JDK 9 modules (which modern JavaFX seems to support, but good luck with much of anything else of size).

Since I am pretty much awful at GUI programming, I've made a lot more progress with FX on my home projects than Swing. It's no panacea, but it's been working for me.

Re: JDeploy – Deploy desktop Java apps as native bundles on Mac, Linux, and Windows

#40

This 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?

[deleted]
Post reply on HN