Permalink
Browse files

Fix MiXCR script for Java 9

This fixes #297
  • Loading branch information...
PoslavskySV authored and dbolotin committed Dec 7, 2017
1 parent fa69599 commit 0529c0685a104d2dc656164ceb61bf842287f348
Showing with 1 addition and 0 deletions.
  1. +1 −0 mixcr
View
1 mixcr
@@ -4,6 +4,7 @@ java="java"
sedString="s/.*1\.\(.*\)\..*/\1/"
jVersion=$($java -version 2>&1 | grep version | awk '{ print $3 }' | sed $sedString)
jVersion=$(echo "${jVersion%%.*}" | sed 's/\"//')
if [[ $jVersion -lt 7 ]];
then
echo "Wrong version of java. Please use Java 7 or higher."

0 comments on commit 0529c06

Please sign in to comment.