www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robbie Gemmell <robbie.gemm...@gmail.com>
Subject build failed with ''Unable to find a javac compiler' on ubuntu2
Date Wed, 03 Aug 2011 18:24:57 GMT
Hi all,

In addition to the issue I emailed about the other day wherby I am
seeing JAVA_HOME related failures with a matrix project when the
configurations run on ubuntu1, the project has also failed on ubuntu2
due to being unable to find javac because it is using a JRE (output

The project continues to work OK when the configurations execute on
ubuntu3, but I'd rather not have to restrict it to just ubuntu3, could
someone take a look? The project is:


[java] $ /home/hudson/tools/ant/latest/bin/ant -file build.xml
-Dlabel=Ubuntu -Dprofile=java-mms.0-9-1 clean build test
Unable to locate tools.jar. Expected to find it in
Buildfile: /home/hudson/hudson-slave/workspace/qpid-java-test-matrix/label/Ubuntu/profile/java-mms.0-9-1/trunk/qpid/java/build.xml
    [javac] Compiling 5 source files to

The following error occurred while executing this line:
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/usr/lib/jvm/java-6-openjdk/jre"

View raw message