Re: Alternate JDK on slave box

2015-01-27 Thread Les Mikesell
On Tue, Jan 27, 2015 at 2:57 PM, Gilles Devaux gilles.dev...@gmail.com wrote: Hi, I have installed two JDKs on a slave box, JDK7 (default) and JDK8 (without update-alternatives). I'm trying to build something with the JDK8 but no luck. I'm setting JAVA_HOME=/usr/lib/jvm/jdk-8-oracle-x64/ in

RE: Alternate JDK on slave box

2015-01-27 Thread John Mellor
: Alternate JDK on slave box On Tue, Jan 27, 2015 at 2:57 PM, Gilles Devaux gilles.dev...@gmail.com wrote: Hi, I have installed two JDKs on a slave box, JDK7 (default) and JDK8 (without update-alternatives). I'm trying to build something with the JDK8 but no luck. I'm setting JAVA_HOME=/usr/lib

Alternate JDK on slave box

2015-01-27 Thread Gilles Devaux
Hi, I have installed two JDKs on a slave box, JDK7 (default) and JDK8 (without update-alternatives). I'm trying to build something with the JDK8 but no luck. I'm setting JAVA_HOME=/usr/lib/jvm/jdk-8-oracle-x64/ in several places, String build parameter, inject environment, something like this