From 41b5090d169bfed6bba74a55081a75bbb143bfad Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Mon, 30 May 2016 11:58:34 +0200 Subject: correct oraclejdk activator --- packages/oraclejdk/oraclejdk7/build.gradle | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'packages/oraclejdk/oraclejdk7') diff --git a/packages/oraclejdk/oraclejdk7/build.gradle b/packages/oraclejdk/oraclejdk7/build.gradle index f0ee830..e47e237 100644 --- a/packages/oraclejdk/oraclejdk7/build.gradle +++ b/packages/oraclejdk/oraclejdk7/build.gradle @@ -9,3 +9,8 @@ ospackage { into '/usr/lib/jvm/java-7-oraclejdk' } activator.env['JAVA_HOME'] = '/usr/lib/jvm/java-7-oraclejdk' +tasks.getByName('activator').doFirst { + file("${buildDir}/unpacked/dist/bin").list().each { + activator.bin[it] = "/usr/lib/jvm/java-8-oraclejdk/bin/${it}" + } +} -- cgit v1.2.1