Hi Smith,

How did you set the $JAVA_HOME?

Can you set JAVA_HOME permanently in /etc/profile and try running again?


Thanks
Devaraj

________________________________________
From: smith jack [thinke...@gmail.com]
Sent: Thursday, May 17, 2012 3:29 PM
To: general@hadoop.apache.org
Subject: what's wrong? i have set JAVA_HOME, but the error tells i haven't set 
it:(

[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

Reply via email to