You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@apache.org by Patrick Hunt <ph...@cloudera.com> on 2014/09/03 19:15:31 UTC

Re: Unable to run a job with openjdk7 on jenkins (JAVA_HOME not set properly)

https://issues.apache.org/jira/browse/BUILDS-16

Patrick

On Sun, Aug 31, 2014 at 11:38 AM, Andrew Bayer <an...@gmail.com> wrote:
> Could you open a BUILDS JIRA for this?
>
> A.
>
> On Sat, Aug 30, 2014 at 12:23 PM, Patrick Hunt <ph...@cloudera.com> wrote:
>> I'm unable to run a job on jenkins with openjdk 7, I see:
>>
>> [trunk] $ /home/jenkins/tools/ant/latest/bin/ant -Dtest.output=yes
>> -Dtest.junit.output.format=xml -Djavac.target=1.7 clean test-core-java
>> Error: JAVA_HOME is not defined correctly.
>>   We cannot execute /usr/lib/jvm/java-7-openjdk-amd64//bin/java
>>
>> e.g.:
>> https://builds.apache.org/view/S-Z/view/ZooKeeper/job/ZooKeeper-trunk-openjdk7/553/console
>>
>> Any help?
>>
>> Thanks,
>>
>> Patrick