On Tue, Nov 29, 2011 at 8:08 PM, sebb <[email protected]> wrote: > The HttpComponents build keeps getting an error such as [1]: > > [ERROR] Unable to locate the Javac Compiler in: > /usr/lib/jvm/java-6-openjdk/jre/../lib/tools.jar > Please ensure you are using JDK 1.4 or above and > not a JRE (the com.sun.tools.javac.Main class is required). > In most cases you can change the location of your Java > installation by setting the JAVA_HOME environment variable. > > The same build works fine on ubuntu3 and ubuntu5 > > Is ubuntu2 supposed to be different, or is that an oversight? > > At present, the build job uses the (Default) compiler. > > I can change that to use a specific version, but I would expect the > (default) to work on all systems that have a Java compiler.
There is no such guarantee, you should always tie your build to a specific version provided in Jenkins. /niklas
