"native" installers for jbang #2110
Unanswered
maxandersen
asked this question in
Ideas
Replies: 2 comments 5 replies
-
|
But doesn't that need either Java already installed or Java being made part of the installer package? |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
just realized another thing these could be used for - handling a jbang:// protocol and make java apps runnable by clicking in a browser. imagine having |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
not sure why but this morning I ran
jpackage --input ~/.jbang/bin --name jbang --main-jar jbang.jar --main-class dev.jbang.Main --type dmgand ended up with a dmg file I could use to get a out-of-the-box installer of jbang...Whats cool is that it actuall packages up all of ~/.jbang/bin into that installer providing all the needed bits for "distributing" the launch scripts and the jar to user.
Of course running it does not do much because our Main atm is just a console app....but nothing stops us from making a
dev.jbang.installer.Mainthat instead of running jbang....runs the appropriate command to run the installation...Meaning we could have a way to install jbang without users starting up the terminal as the first thing. Could even have it install vscodium and open up the ide with jbang preconfigured... again without requiring users to go to terminal...
jpackage could also help solve #882 ...
anyhow - not sure what is the right path but just found it interesting exploring if jpackage could help making it even easier for non-terminal folks to get a easy to use java dev environment setup.
wdyt?
Beta Was this translation helpful? Give feedback.
All reactions