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 below).
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: https://builds.apache.org/view/M-R/view/Qpid/job/qpid-java-test-matrix/ Thanks, Robbie [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 /usr/lib/jvm/java-6-openjdk/lib/tools.jar 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 /home/hudson/hudson-slave/workspace/qpid-java-test-matrix/label/Ubuntu/profile/java-mms.0-9-1/trunk/qpid/java/tasks/classes BUILD FAILED /home/hudson/hudson-slave/workspace/qpid-java-test-matrix/label/Ubuntu/profile/java-mms.0-9-1/trunk/qpid/java/build.xml:23: The following error occurred while executing this line: /home/hudson/hudson-slave/workspace/qpid-java-test-matrix/label/Ubuntu/profile/java-mms.0-9-1/trunk/qpid/java/common.xml:148: 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"