Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> Hadoop build error


Copy link to this message
-
Re: Hadoop build error
>
>
>
> java5.check:
>
> BUILD FAILED
> /home/raghu/src-hadoop/trunk/build.xml:890: 'java5.home' is not defined.
>  Forrest requires Java5.  Please pass -Djava5.home=<base of Java 5
> distribution> to Ant on the command-line.

I think the error is self-explanatory.  Forrest need JDK1.5 and you can pass
it using -Djava5.home argument.
May be something like the following:

ant -Djavac.args="-Xlint  -Xmaxwarns 1000"  -Djava5.home={base of Java 5
distribution} tar