/usr/share/jsamp/jsamp-script.sh is in jsamp 1.3.5-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #!/bin/sh
# Paul Sladen, 17 June 2016
# Included at recommendation of Mark Taylor (upstream); based on information in:
# http://www.star.bristol.ac.uk/~mbt/jsamp/commands.html
# https://github.com/Starlink/starjava/blob/master/jsamp/src/script/jsamp
# The Java class already includes command-line/help handling.
if [ $# = 0 ]; then
JSAMP_SCRIPT_ARGS=-help
else
JSAMP_SCRIPT_ARGS="$@"
fi
exec /usr/bin/java -classpath /usr/share/java/jsamp.jar org.astrogrid.samp.JSamp $JSAMP_SCRIPT_ARGS
|