/usr/bin/javamorph is in javamorph 0.0.20100201-1.3.
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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | #!/bin/bash
# Start JavaMorph - Morphing Program.
# Contains all help files.
HELPDIR="/usr/share/doc/javamorph/"
# Tutorial PDF.
HELPFILE=${HELPDIR}JavaMorph.pdf.gz
# Pass DEBIAN specific help file locations to the JVM.
OPTS="-DHELPDIR=${HELPDIR} -DHELPFILE=${HELPFILE}"
# Location of the OPENJDK JVM.
J_OPEN="/usr/lib/jvm/default-java/jre/bin/java"
# Location of the GCJ JVM.
J_GCJ="/usr/lib/jvm/java-gcj/jre/bin/java"
# Choose the JVM if installed.
if test -a ${J_GCJ}
then
JAVA=${J_GCJ}
echo I take GCJ-1.5.0.
else
if test -a ${J_OPEN}
then
JAVA=${J_OPEN}
echo I take OPENJDK-6.
else
# Stop if no JVM is installed.
echo "ERROR: No Java VM found for JavaMorph!"
exit 1
fi
fi
# Choose the helpviewer.
if test -a /usr/bin/evince
then
HELPVIEW=/usr/bin/evince
else
if test -a /usr/bin/okular
then
HELPVIEW=/usr/bin/okular
else
echo "WARNING: Help viewer not found!"
fi
fi
# Start the JavaMorph program.
${JAVA} ${OPTS} -DHELPVIEW=${HELPVIEW} -jar /usr/share/javamorph/javamorph.jar
# Say good bye.
echo "Open me again if I'm good or report bugs otherwise! Bye ..."
|