X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=inline;f=utils%2Fjalopy%2Fbin%2Fpreferences.sh;fp=utils%2Fjalopy%2Fbin%2Fpreferences.sh;h=0000000000000000000000000000000000000000;hb=1889827c44c51f6353fe8619e5d44b421158af23;hp=92593ee41523606bf72879f2d9824a4489441cef;hpb=47168f025aefdaa044802bd5f8f510ffe43a4808;p=jalview.git diff --git a/utils/jalopy/bin/preferences.sh b/utils/jalopy/bin/preferences.sh deleted file mode 100755 index 92593ee..0000000 --- a/utils/jalopy/bin/preferences.sh +++ /dev/null @@ -1,50 +0,0 @@ -#! /bin/sh - -# OS specific support. $var _must_ be set to either true or false. -cygwin=false; -darwin=false; -case "`uname`" in - CYGWIN*) cygwin=true ;; - Darwin*) darwin=true ;; -esac - -if [ -z "$JAVACMD" ] ; then - if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD=$JAVA_HOME/jre/sh/java - else - JAVACMD=$JAVA_HOME/bin/java - fi - else - JAVACMD=java - fi -fi - -if [ ! -x "$JAVACMD" ] ; then - echo "Error: JAVA_HOME is not defined correctly." - echo " We cannot execute $JAVACMD" - exit -fi - -# add in the dependency .jar files -# The jar-files are in the same directory as this scriptfile ! -# So remove the name of this script-file from the path and replace it -# with *.jar -DIRLIBS=${0%/*}/../lib/*.jar -for i in ${DIRLIBS} -do - if [ -z "$LOCALCLASSPATH" ] ; then - LOCALCLASSPATH=$i - else - LOCALCLASSPATH="$i":$LOCALCLASSPATH - fi -done - -# For Cygwin, switch paths to Windows format before running java -if $cygwin; then - JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` - LOCALCLASSPATH=`cygpath --path --windows "$LOCALCLASSPATH"` -fi - -$JAVACMD -classpath "$LOCALCLASSPATH" de.hunsicker.jalopy.swing.SettingsDialog