/usr/bin/doctorj is in doctorj 5.0.0-5.
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 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | #!/bin/sh
# java 1.4 must be in path
DRJ_PROPERTIES=""
if [ -n "$EMACS" ]; then
DRJ_PROPERTIES="-Ddoctorj.emacs=true $DRJ_PROPERTIES"
fi
# if this is in /usr/bin, jar file is expected as /usr/share/doctorj/doctorj.jar
batchfile="$0"
batchdir=`dirname $batchfile`
prefix=`dirname $batchdir`
jarfile=$prefix/share/doctorj/doctorj.jar
if [ -n "$CLASSPATH" ]; then
CLASSPATH="$CLASSPATH:${jarfile}"
else
CLASSPATH="${jarfile}"
fi
export CLASSPATH
DRJ_PROPERTIES="-Ddoctorj.dir=$prefix/share/doctorj $DRJ_PROPERTIES"
java $DRJ_PROPERTIES org.incava.doctorj.Main "$@"
|