]> gitweb.fperrin.net Git - DictionaryPC.git/blobdiff - convert_to_v6.sh
Move library search to a common file
[DictionaryPC.git] / convert_to_v6.sh
index 426a10cbe801e615a017c2d2b871327ea491a100..60cd01d3d95f6c5a455c88b9ff039b26658e74c4 100755 (executable)
@@ -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 "$@"