4 ICU4J=/usr/share/java/icu4j.jar
5 ICU4J=/usr/share/java/com.ibm.icu-4.4.jar
6 test -r "$ICU4J" || ICU4J=/usr/share/icu4j-55/lib/icu4j.jar
8 if [ ! -r "$ICU4J" ] ; then
9 echo "ICU4J needs to be installed"
13 if [ -z "$JUNIT" ]; then
14 JUNIT=/usr/share/java/junit.jar
15 test -r "$JUNIT" || JUNIT=/usr/share/junit/lib/junit.jar
17 if [ ! -r "$JUNIT" ] ; then
18 echo "Junit needs to be installed"
22 if [ -z "$COMMONS_LANG3" ]; then
23 COMMONS_LANG3=/usr/share/java/commons-lang3.jar
24 test -r "$COMMONS_LANG3" || COMMONS_LANG3=/usr/share/commons-lang-3.3/lib/commons-lang.jar
26 if [ ! -r "$COMMONS_LANG3" ] ; then
27 echo "commons-lang needs to be installed"
31 if [ -z "$COMMONS_COMPRESS" ]; then
32 COMMONS_COMPRESS=/usr/share/java/commons-compress.jar
34 if [ ! -r "$COMMONS_COMPRESS" ] ; then
35 echo "commons-compress needs to be installed"
39 if [ ! -x ../Dictionary ] ; then
40 echo "You need to clone the Dictionary repository (including subprojects) into .."
44 if [ -z "$JAVA" ]; then
45 JAVA=/usr/lib/jvm/java-8-openjdk-amd64/bin/java
47 if [ ! -r "$JAVA" ]; then
48 echo "could not find java at $JAVA"
52 if [ ! -r "$JAVAC" ]; then
53 echo "could not find javac at $JAVAC"