#!/bin/bash PREFIX= if [ -L "$0" ]; then PREFIX=`readlink -f $0` if [ $? -eq 0 ]; then PREFIX=`dirname $PREFIX` else PREFIX=`file $0` PREFIX=${PREFIX##*symbolic link to } PREFIX=`dirname $PREFIX` fi else PREFIX=`dirname $0` fi case $PREFIX in /*) ;; *) cd $PREFIX PREFIX=`pwd` ;; esac cp= for i in $PREFIX/lib/*.jar; do cp=$i:$cp done $PREFIX/java/bin/java \ -Djava.library.path=$PREFIX/swt -classpath $cp \ org.crazybus.login.Login &
CrazyBus Launch Script
Published in CrazyBus
Comments