1. 4
    1. 2

      In summary, you can do something like this:

      1. execute regular java programs with - jbang helloworld.java
      2. the jbang is a play on shebang #! and looks like this (at the top of the file) - //usr/bin/env jbang "$0" "$@" ; exit $?
      3. include package dependencies with a line like this – //DEPS log4j:log4j:1.2.17
      4. inspired by Kotlin’s kscript utility