/usr/bin/JFractionLab is in jfractionlab 0.91-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 | #!/bin/sh
# jfractionlab wrapper script
# code for java detection based on tuxguitar code
# but adding detection of alternatives for jclic
if [ -z $JAVA_HOME ] ; then
ALTERNATIVE=`ls -l /etc/alternatives/java|grep sun`
if [ -z "$ALTERNATIVE" ]; then
ALTERNATIVE=`ls -l /etc/alternatives/java|grep jdk`
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 -client -jar /usr/share/jfractionlab/bin/JFractionLab.jar "$@" > /dev/null 2>&1
|