From b15bf6f6537e9c83c0b84075ba899b5206a2b59a Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Tue, 22 Nov 2016 21:31:49 +0100 Subject: [PATCH] Check for JDK 1.8.0_112 and PREpend it --- .zjava | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.zjava b/.zjava index c4ffbcf..cef13b2 100644 --- a/.zjava +++ b/.zjava @@ -6,6 +6,7 @@ if whence apppath > /dev/null then for i in \ + /usr/local/jdk1.8.0_112 \ /usr/local/jre1.6.0_14 \ /usr/local/jdk1.5.0_08 \ /usr/lib/j2re1.5-sun \ @@ -17,7 +18,7 @@ then do if [ -d "$i/bin" ] then - PATH=$(apppath "$i/bin") + PATH=$(preppath "$i/bin") export JAVA_HOME=$i break; fi