/usr/bin/jclicauthor is in jclic 0.2.1.0-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 15 16 17 18 19 20 21 22 23 | #!/bin/sh
# jclicauthor wrapper script
# code for java detection borrowed from tuxguitar
if [ -z $JAVA_HOME ] ; then
ALTERNATIVE=`ls -l /etc/alternatives/java|grep sun`
if [ -z "$ALTERNATIVE" ]; then
ALTERNATIVE=`ls -l /etc/alternatives/java|grep openjdk`
fi
if [ -z "$ALTERNATIVE" ]; then
t=/usr/lib/jvm/java-1.5.0-sun && test -d $t && JAVA_HOME=$t
t=/usr/lib/jvm/java-6-sun && test -d $t && JAVA_HOME=$t
t=/usr/lib/jvm/java-7-icedtea && test -d $t && JAVA_HOME=$t
JAVA=${JAVA_HOME}/jre/bin/java
fi
fi
export JAVA=${JAVA:=java}
exec $JAVA -jar /usr/share/java/jclicauthor.jar "$@"
|