www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [Jenkins] Unable to locate the default Javac Compiler (ubuntu2)
Date Wed, 30 Nov 2011 00:08:10 GMT
On 29 November 2011 20:13, Niklas Gustavsson <niklas@protocol7.com> wrote:
> On Tue, Nov 29, 2011 at 8:08 PM, sebb <sebbaz@gmail.com> 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.

So why have the default entry at all?
Or is that a Jenkins bug?

> /niklas

View raw message