You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by raghu kishor <ra...@yahoo.com> on 2009/02/20 11:22:54 UTC
Hadoop compilation error
Hi ,
While trying to compile hadoop(ant -Djavac.args="-Xlint -Xmaxwarns 1000" tar) i am get below error . Kindly let me know how to fix this issue.
[javadoc] Standard Doclet version 1.6.0_07
[javadoc] Building tree for all the packages and classes...
[javadoc] Building index for all the packages and classes...
[javadoc] Building index for all classes...
java5.check:
BUILD FAILED
/home/raghu/src-hadoop/trunk/build.xml:890: 'java5.home' is not defined. Forrest requires Java 5. Please pass -Djava5.home=<base of Java 5 distribution> to Ant on the command-line.
Thanks,
Raghu
Re: Hadoop compilation error
Posted by Hemanth Yamijala <yh...@yahoo-inc.com>.
Raghu,
> java5.check:
>
> BUILD FAILED
> /home/raghu/src-hadoop/trunk/build.xml:890: 'java5.home' is not defined. Forrest requires Java 5. Please pass -Djava5.home=<base of Java 5 distribution> to Ant on the command-line.
>
>
Currently, Hadoop requires java 5 for compiling documentation. The
documentation program is Apache Forrest: http://forrest.apache.org/. And
you also should have java 5, whose home should be given to ant.
So, you should run something like:
ant -Djava5.home=/path/to/java-5 -Dforrest.home=/path/to/forrest tar