Return-Path: X-Original-To: apmail-builds-archive@minotaur.apache.org Delivered-To: apmail-builds-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4696A7E41 for ; Wed, 3 Aug 2011 18:25:28 +0000 (UTC) Received: (qmail 15610 invoked by uid 500); 3 Aug 2011 18:25:28 -0000 Delivered-To: apmail-builds-archive@apache.org Received: (qmail 15453 invoked by uid 500); 3 Aug 2011 18:25:26 -0000 Mailing-List: contact builds-help@apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: builds@apache.org Delivered-To: mailing list builds@apache.org Received: (qmail 15444 invoked by uid 99); 3 Aug 2011 18:25:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Aug 2011 18:25:26 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of robbie.gemmell@gmail.com designates 209.85.210.178 as permitted sender) Received: from [209.85.210.178] (HELO mail-iy0-f178.google.com) (209.85.210.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Aug 2011 18:25:20 +0000 Received: by iyb26 with SMTP id 26so1601363iyb.23 for ; Wed, 03 Aug 2011 11:24:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=1n7oJQAVtnM3EwUaS9TuPBiGySYo2MsASRuEbeoSD0E=; b=fNYdbyc7RSjewsO70wIr6F1mAeoQvej+p+qslHytSPSyBJcNsd7EgB8+rc3extz20U Nd12n9u+ZpTHNWXt4EZdWTJlAy9o5h5jzMh2rIbR0b2UI/vW8EDM78WqVXN/07qUXPje RPyejpN9OEdSnUAnp1XsEntTpmQccm7bDxj8g= MIME-Version: 1.0 Received: by 10.231.41.23 with SMTP id m23mr5173976ibe.183.1312395899571; Wed, 03 Aug 2011 11:24:59 -0700 (PDT) Received: by 10.231.51.9 with HTTP; Wed, 3 Aug 2011 11:24:56 -0700 (PDT) Date: Wed, 3 Aug 2011 19:24:57 +0100 Message-ID: Subject: build failed with ''Unable to find a javac compiler' on ubuntu2 From: Robbie Gemmell To: builds@apache.org Content-Type: text/plain; charset=ISO-8859-1 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"