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 |
---|---|---|
![]() |
aarch64 (3)*, x86_64 (2)* | Centos-stream+epel-next 8 (68 downloads) |
![]() |
x86_64 (4)* | Centos-stream+epel-next 9 (73 downloads) |
![]() |
aarch64 (8)*, ppc64le (7)*, x86_64 (15)* | Centos-stream 8 (81 downloads) |
![]() |
ppc64le (10)*, x86_64 (15)* | EPEL 7 (97 downloads) |
![]() |
aarch64 (10)*, ppc64le (10)*, x86_64 (306)* | EPEL 8 (159 downloads) |
![]() |
aarch64 (14)*, x86_64 (75)* | EPEL 9 (135 downloads) |
![]() |
aarch64 (7)*, i386 (4)*, ppc64le (3)*, x86_64 (198)* | Fedora 39 (0 downloads) |
![]() |
aarch64 (8)*, i386 (6)*, ppc64le (0)*, x86_64 (249)* | Fedora 40 (144 downloads) |
![]() |
aarch64 (2)*, i386 (6)*, ppc64le (4)*, x86_64 (126)* | Fedora 41 (48 downloads) |
![]() |
aarch64 (0)*, i386 (0)*, ppc64le (0)*, x86_64 (0)* | Fedora 42 (0 downloads) |
![]() |
aarch64 (4)*, i386 (2)*, ppc64le (4)*, x86_64 (9)* | Fedora rawhide (97 downloads) |
![]() |
aarch64 (8)* | Mageia 8 (80 downloads) |
![]() |
aarch64 (2)*, i686 (8)*, x86_64 (6)* | Mageia cauldron (87 downloads) |
![]() |
i586 (6)*, ppc64le (7)*, x86_64 (6)* | openSUSE Tumbleweed (103 downloads) |
![]() |
x86_64 (11)* | Rhel 7 (74 downloads) |
![]() |
x86_64 (17)* | Rhel 8 (74 downloads) |
![]() |
x86_64 (8)* | Rhel 9 (79 downloads) |
* Total number of downloaded packages.