From 99cf359cc05ad53802598f79f7273f7171d517a5 Mon Sep 17 00:00:00 2001 From: Andreas Kohn Date: Wed, 22 Oct 2014 10:54:28 +0200 Subject: [PATCH] Accept 1.9 as a valid Java VM version This makes openrefine start up with a 1.9 VM (ea snapshot) --- refine | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/refine b/refine index 9c0a71eeb..c014552b8 100755 --- a/refine +++ b/refine @@ -872,7 +872,7 @@ if [ ! -x "$JAVA" ] ; then error "Could not find the 'java' executable at '$JAVA', are you sure your JAVA_HOME environment variable is pointing to a proper java installation?" fi -JAVA_VERSION=`$JAVA -version 2>&1 | grep version | cut -d ' ' -f 3 | egrep '^\"1\.(6|7|8)'` +JAVA_VERSION=`$JAVA -version 2>&1 | grep version | cut -d ' ' -f 3 | egrep '^\"1\.(6|7|8|9)'` if [ -z "$JAVA_VERSION" ] ; then error "OpenRefine requires Java version 6 or later. If you have multiple versions of Java installed, please set the environment variable JAVA_HOME to the correct version." fi