X-Git-Url: http://gitweb.fperrin.net/?p=DictionaryPC.git;a=blobdiff_plain;f=convert_to_v6.sh;h=60cd01d3d95f6c5a455c88b9ff039b26658e74c4;hp=426a10cbe801e615a017c2d2b871327ea491a100;hb=c188fa3368265e362f689b86274f0dd0dd5b3573;hpb=020aa910526ece05ee8514e55a9a951b45ce1fea diff --git a/convert_to_v6.sh b/convert_to_v6.sh index 426a10c..60cd01d 100755 --- a/convert_to_v6.sh +++ b/convert_to_v6.sh @@ -1,7 +1,8 @@ +#!/bin/bash + RUNNER=./DictionaryPC if ! test -x "$RUNNER" ; then - JAVA=/usr/lib/jvm/java-8-openjdk-amd64/bin/java - test -x "$JAVA" || JAVA=java + . javalibs.sh RUNNER="$JAVA -classpath bin/ com.hughes.android.dictionary.engine.Runner" fi $RUNNER ConvertToV6 "$@"