source: jclic/trunk/fuentes/jclicauthor @ 116

Last change on this file since 116 was 116, checked in by jrpelegrina, 5 years ago

First release to xenial

File size: 366 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/jclicauthor.jar "$@" &>/dev/null
17
Note: See TracBrowser for help on using the repository browser.