Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shannah78
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
shannah78
5y ago
> This method of distribution doesn't work when pretty much all apps are almost guaranteed to used a different JVM Not really. Currently it supports Java 8, 11, and 17. For each of those there is a JRE/JDK option, and a JavaF
32.
▲
by
shannah78
5y ago
> 1) Can I run jlink somewhere in the build process? No need. Just specify your JVM requirements and the launcher will automatically use (or download if necessary) a compatible VM. This allows JVMs to be shared between apps, and your a
33.
▲
by
shannah78
5y ago
Yes, there is an app alternative. You can generate an .app directly with jdeploy. However, then you need to code-sign and notarize the app if you want users who download it to not see a "This app is damaged" message. The instal
34.
▲
by
shannah78
5y ago
Yes the jDeploy installer is codesigned and notarized. The same installer is reused for every app. It figures out the specific app to be installed from a code in the installer name, so that, when run, the installer installs the correct ap
35.
▲
by
shannah78
5y ago
By managing the JVMs separately, you get major savings on updates, or if you have multiple apps deployed this way since they can share a JVM. When you update your app, it only needs to download your app - not the whole JVM. You can even c
36.
▲
by
shannah78
5y ago
What version of Mac OS are you using? I've been testing on Mojave, Catalina, Big Sur, and Monterey. Can't seem to reproduce this (the "SwingSet2 damaged app)
37.
▲
by
shannah78
5y ago
It's on my todo list. Will be added soon. https://github.com/shannah/jdeploy/issues/27
38.
▲
by
shannah78
5y ago
The launcher gets the package's metadata from npm's registry on launch. This will tell it the latest version, and also the JVM requirements (e.g. version, javafx, jdk, etc..). It compares this with what it has installed. If it
39.
▲
by
shannah78
5y ago
Thanks for the kind words. Looking forward to seeing how devs will use it.
40.
▲
by
shannah78
5y ago
> specify a generic target and then having a documented manifest format sounds nice to me? It worked this way in an earlier iteration. I just wanted to make it simpler. I'll probably circle back and re-enable some of the more cust
41.
▲
by
shannah78
5y ago
> Similar to GP I wouldn't be trusting NPM with this kind of thing Have there been some events that cast doubt on the trustworthiness of NPM? vs, say Github?
42.
▲
by
shannah78
5y ago
jDeploy can be configured to produce an app like this, where everything is bundled together. It will even automate the codesign and notarize process. However, to do this requires a Mac, and you still need to jump through all Apple's
43.
▲
by
shannah78
5y ago
All files related to it are kept in $HOME/.jdeploy The observation that it downloaded 2 JREs (one for the installer and the other for the app) is a rough edge that will be fixed in an upcoming release. The reason is that the installer
44.
▲
by
shannah78
5y ago
Here here! I sometimes pull out one of the old Swing books just for the enjoyment of nostalgia.
45.
▲
by
shannah78
5y ago
> 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
46.
▲
by
shannah78
5y ago
> 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 project
47.
▲
by
shannah78
5y ago
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
48.
▲
by
shannah78
5y ago
Cool! Ping me when you get around to it. I'm still trying to put together some more samples for the homepage if you're willing to let me post them there.
49.
▲
by
shannah78
5y ago
> I spent so many hours fiddling with jlink and modules and so on. Me too... Me too.
50.
▲
by
shannah78
5y ago
> What Java framework(Swing, FX etc) would you recommend for a desktop Java app? Up to you. Swing is old faithful. JavaFX will result in something that is "cooler" and more modern. Both are supported. If you select "Jav
51.
▲
by
shannah78
5y ago
> Assuming I'd rather self-host instead of hitching a ride on npm - could it it still be useful, as a cross-platform bundle maker? I've seen some interest for self hosting, so it will likely be added. In an earlier iteration (
52.
▲
by
shannah78
5y ago
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 a
53.
▲
by
shannah78
5y ago
> Can't you already do this with jpackage or graalvm to create native bundles? With jpackage or graalvm you need a Windows machine to build your windows installer because it relies on 3rd party Windows tools for the installer. Like
54.
▲
by
shannah78
5y ago
> 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
55.
▲
by
shannah78
5y ago
The launcher, which is written in Go and C, is precompiled, so it can be reused in all apps. This means that, unlike jpackage, which requires you to build the Windows installer on Windows, the Mac installer on Mac, etc..., you can build fo
56.
▲
by
shannah78
5y ago
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 fo
57.
▲
JDeploy – Deploy desktop Java apps as native bundles on Mac, Linux, and Windows
(jdeploy.com)
277 points
by
shannah78
5y ago
|
130 comments
58.
▲
by
shannah78
5y ago
Thanks. I like many aspects of their service description. The pricing per website, makes sense, but I obviously prefer the Dreamhost one price for unlimited sites model.
59.
▲
Ask HN: Shared LAMP hosting that supports automation?
1 points
by
shannah78
5y ago
|
2 comments
60.
▲
by
shannah78
5y ago
Thanks. This looks like exactly what I'm looking for.
More ›