Description
Unleash the power of Java for shell scripting
Want to learn or explore Java instantly without setup ?
Do you like Java but uses python, groovy, kotlin or similar languages for your scripts ?
Ever tried out Java 10+ support for running .java files directly in your shell but felt it was a bit too cumbersome ?
Then try jbang which lets you do this:
$ jbang --init=cli hello.java
$ jbang hello.java Max!
[jbang] Resolving dependencies...
[jbang] Resolving info.picocli:picocli:4.1.4...Done
[jbang] Dependencies resolved
[jbang] Building jar...
Hello Max!
$ jbang hello.java -h
Usage: hello [-hV] <greeting>
hello made with jbang
<greeting> The greeting to print
-h, --help Show this help message and exit.
-V, --version Print version information and exit.
Instant cli app generated built using java and picocli as a dependency that was fetched as needed for the compilation and execution.
Installation Instructions
Instructions not filled in by author. Author knows what to do. Everybody else should avoid this repo.
Active Releases
The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).
Release | Architectures | Repo Download |
---|---|---|
Centos-stream+epel-next 8 | aarch64 (3)*, x86_64 (2)* | Centos-stream+epel-next 8 (63 downloads) |
Centos-stream+epel-next 9 | x86_64 (4)* | Centos-stream+epel-next 9 (68 downloads) |
Centos-stream 8 | aarch64 (8)*, ppc64le (7)*, x86_64 (15)* | Centos-stream 8 (76 downloads) |
EPEL 6 | i386 (5)*, x86_64 (12)* | EPEL 6 (0 downloads) |
EPEL 7 | ppc64le (8)*, x86_64 (15)* | EPEL 7 (93 downloads) |
EPEL 8 | aarch64 (10)*, ppc64le (10)*, x86_64 (306)* | EPEL 8 (153 downloads) |
EPEL 9 | aarch64 (12)*, x86_64 (75)* | EPEL 9 (125 downloads) |
Fedora 39 | aarch64 (7)*, i386 (4)*, ppc64le (3)*, x86_64 (198)* | Fedora 39 (0 downloads) |
Fedora 40 | aarch64 (8)*, i386 (6)*, ppc64le (0)*, x86_64 (244)* | Fedora 40 (140 downloads) |
Fedora 41 | aarch64 (0)*, i386 (6)*, ppc64le (2)*, x86_64 (110)* | Fedora 41 (38 downloads) |
Fedora rawhide | aarch64 (2)*, i386 (1)*, ppc64le (4)*, x86_64 (9)* | Fedora rawhide (94 downloads) |
Mageia 8 | aarch64 (8)* | Mageia 8 (76 downloads) |
Mageia cauldron | aarch64 (2)*, i686 (8)*, x86_64 (6)* | Mageia cauldron (84 downloads) |
openSUSE Tumbleweed | i586 (6)*, ppc64le (7)*, x86_64 (6)* | openSUSE Tumbleweed (97 downloads) |
Rhel 7 | x86_64 (11)* | Rhel 7 (70 downloads) |
Rhel 8 | x86_64 (17)* | Rhel 8 (70 downloads) |
Rhel 9 | x86_64 (8)* | Rhel 9 (74 downloads) |
* Total number of downloaded packages.