DIR="$(dirname "${SCRIPT}")"
APPDIR="${DIR%/bin}"
JAVABIN="${APPDIR}/jre/Contents/Home/bin"
- JAVA="${JAVABIN}/java"
# e.g. APPFOLDER=/Applications/Jalview.app
APPFOLDER="${APPDIR%%.app/*}.app"
VMOPTIONS="${APPFOLDER}/Contents/vmoptions.txt"
DIR="$(dirname "${SCRIPT}")"
APPDIR="${DIR%/bin}"
JAVABIN="${APPDIR}/jre/bin"
- JAVA="${JAVABIN}/java"
# e.g. APPFOLDER=/opt/jalview
APPFOLDER="${APPDIR}"
VMOPTIONS="${APPDIR}/jalviewg.vmoptions"
fi
+JAVA="${JAVABIN}/java"
# headless java arguments
JVMARGS=( "${JVMARGS[@]}" "-Djava.awt.headless=true" )
GETDOWNCOREJAR="${APPDIR}/resource/getdown-core.jar"
CHANNELPROPS="${APPDIR}/channel.props"
NAME="$( grep app_name= "${CHANNELPROPS}" | cut -d= -f2 )"
-echo $NAME
US_NAME="${NAME// /_}"
GDL_CLASSPATH=""