From aa9a6c619a04b6fb657942cb3de499f1a85104af Mon Sep 17 00:00:00 2001 From: Joe Kutner Date: Mon, 14 Aug 2017 19:41:19 -0500 Subject: [PATCH] Added explicit case for JVM version 8 or 1.8 in system.properties --- lib/language_pack/helpers/jvm_installer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/language_pack/helpers/jvm_installer.rb b/lib/language_pack/helpers/jvm_installer.rb index fa71c5a1b..f4d1ac71c 100644 --- a/lib/language_pack/helpers/jvm_installer.rb +++ b/lib/language_pack/helpers/jvm_installer.rb @@ -59,7 +59,7 @@ def install(jruby_version, forced = false) fetch_env_untar('JDK_URL_1_7') || fetch_untar(JVM_1_7_PATH, "openjdk-7") when "1.6", "6" fetch_env_untar('JDK_URL_1_6') || fetch_untar(JVM_1_6_PATH, "openjdk-6") - when nil + when "1.8", "8", nil if @stack == "cedar" if forced || Gem::Version.new(jruby_version) >= Gem::Version.new("1.7.4") fetch_untar(JVM_1_7_PATH, "openjdk-7")