(original) (raw)

On May 31, 2018, at 1:36 PM, Remi Forax <forax@univ-mlv.fr> wrote:

or just put the jar near the shebang file :)

That raises an interesting question: How does the shebang script refer to a side file
in the same directory? In /bin/sh we would say something like "${0%/\*}/side.jar".
I suppose there is a JVM property which exposes that command line argument already;
if not there should be. Then an API like java.nio.file.Path can help find the side file.

— John