a shell-script stub with a jar-file contained inside the script does work however, makeself uses that apporoach. but it needs to pipe the exact jar-file (bytes of the shell-script) into a file (tmp_whatever.jar for instance) and then run java -jar tmp_whatever.jar $@ on that file.
1
u/bjarneh Jun 21 '11
that does not work...
a shell-script stub with a jar-file contained inside the script does work however, makeself uses that apporoach. but it needs to pipe the exact jar-file (bytes of the shell-script) into a file (tmp_whatever.jar for instance) and then run
java -jar tmp_whatever.jar $@on that file.