--- astah.orig 2013-03-08 06:02:20.000000000 +0900 +++ astah 2013-03-15 10:47:26.000000000 +0900 @@ -3,9 +3,10 @@ #Remove "#" from following two lines, if you'd like to use j2sdk. #JAVA_HOME=/usr/lib/j2sdk1.4/;export JAVA_HOME #PATH=$JAVA_HOME/bin:$PATH; export PATH +PATH=%%DATADIR%%:$PATH -#ASTAH_HOME=/usr/local/share/astah_community -ASTAH_HOME=`dirname "$0"` +ASTAH_HOME=%%DATADIR%% +#ASTAH_HOME=`dirname "$0"` ASTAH_JAR=astah-community.jar CLASSPATH=$ASTAH_HOME/$ASTAH_JAR @@ -13,4 +14,4 @@ JAVA_OPTS="-Xms16m -Xmx384m" #JAVA_OPTS="\$JAVA_OPTS -DrootLevel=DEBUG" -java $JAVA_OPTS -jar $ASTAH_HOME/$ASTAH_JAR "$1" $2 $3 +%%JAVA_HOME%%/bin/java $JAVA_OPTS -jar $ASTAH_HOME/$ASTAH_JAR "$1" $2 $3