source: jclic/trunk/fuentes/debian/jclic/usr/bin/jclic @ 3466

Last change on this file since 3466 was 3466, checked in by Juanma, 4 years ago

Updated to 3.2.1

  • Property svn:executable set to *
File size: 360 bytes
Line 
1#!/bin/sh
2
3# jclicplayer wrapper script
4# code for java detection based on tuxguitar code
5# but adding detection of alternatives for jclic
6
7
8export JAVA=${JAVA:=java}
9
10JAVA=$JAVA
11if [ -d "/usr/lib/jvm/java-7-oracle" ]; then
12        JAVA_HOME="/usr/lib/jvm/java-7-oracle"
13        JAVA=${JAVA_HOME}/jre/bin/java
14fi
15
16exec $JAVA -jar /usr/share/java/jclic.jar "$@" &>/dev/null
17
Note: See TracBrowser for help on using the repository browser.