In summary, you can do something like this:
jbang helloworld.java
jbang
#!
//usr/bin/env jbang "$0" "$@" ; exit $?
//DEPS log4j:log4j:1.2.17
In summary, you can do something like this:
jbang helloworld.java
jbang
is a play on shebang#!
and looks like this (at the top of the file) -//usr/bin/env jbang "$0" "$@" ; exit $?
//DEPS log4j:log4j:1.2.17