blob: 8c8ac09265f379b443a50388957c1fe5e13c2ac6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/usr/bin/env bash
# check that the environment is 1.8 or higher
JAVA_VERSION=$(java -version 2>&1 |awk -F '"' '/version/ {print $2}')
if [[ "$JAVA_VERSION" < "1.8" ]]; then
echo "Java version 1.8 or higher is required, currently java is version $JAVA_VERSION"
exit 1
fi
cd /usr/share/java/durian
java -cp durian.jar:* qic.Main
|