X-Git-Url: http://gitweb.fperrin.net/?a=blobdiff_plain;f=convert_to_v6.sh;h=60cd01d3d95f6c5a455c88b9ff039b26658e74c4;hb=c188fa3368265e362f689b86274f0dd0dd5b3573;hp=2443c1cf086539b1016ae08d7454e9cdec1bde9a;hpb=96e85ff86f44888a9994710d55e760893d87da76;p=DictionaryPC.git diff --git a/convert_to_v6.sh b/convert_to_v6.sh index 2443c1c..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/jre/bin/java - test -x "$JAVA" || JAVA=java + . javalibs.sh RUNNER="$JAVA -classpath bin/ com.hughes.android.dictionary.engine.Runner" fi $RUNNER ConvertToV6 "$@"