diff galaxy-conf/galaxyToolRunner.sh @ 25:b43c420a6135 draft default tip

Incorporate fix: https://github.com/timpalpant/java-genomics-toolkit/commit/9a6c61b7c6b8d85a1cd3f595eed657a537b85dc9
author timpalpant
date Sat, 09 Feb 2019 14:02:24 -0500
parents 9d56b5b85740
children
line wrap: on
line diff
--- a/galaxy-conf/galaxyToolRunner.sh	Tue Jun 19 22:15:09 2012 -0400
+++ b/galaxy-conf/galaxyToolRunner.sh	Sat Feb 09 14:02:24 2019 -0500
@@ -6,13 +6,5 @@
   exit;
 fi
 
-# Verify that the user has Java 7 installed
-# Otherwise there will be an obscure UnsupportedClassVersion error
-version=$(java -version 2>&1 | awk -F '"' '/version/ {print $2}')
-if [[ "$version" < "1.7" ]]; then
-    echo "Need Java 7 or greater. You have Java $version installed."
-    exit
-fi
-
 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
-java -Dlog4j.configuration=log4j.properties -cp $DIR:$DIR/../build:$DIR/../dist/*:$DIR/../lib/* edu.unc.genomics."$@"
\ No newline at end of file
+java -Dlog4j.configuration=log4j.properties -cp $DIR:$DIR/../build:$DIR/../dist/*:$DIR/../lib/* edu.unc.genomics."$@"