my prev post was rubbish. forget it. but what does “which hadoop“ print? On 18 May 2012 12:11, "Bernd Fondermann" <bernd.fonderm...@googlemail.com> wrote:
> try “echo JAVA_HOME“, not “echo $JAVA_HOME“ > On 17 May 2012 13:00, "smith jack" <thinke...@gmail.com> wrote: > >> [jack@localhost tools]$ echo $JAVA_HOME >> /home/jack/dsk/tools/gov/jdk1.6.0_12 >> [jack@localhost tools]$ hadoop >> Error: JAVA_HOME is not set and could not be found. >> >> the version of hadoop i use is 0.23.0 >> >