You should set JAVA_HOME like this:

export JAVA_HOME=C:/cygwin/home/HadoopAdmin/java



On Fri, Sep 4, 2009 at 1:06 AM, Rajpal, Harjeet Kumar <
[email protected]> wrote:

> Hello all,
>
>            First of all sorry if this question sounds stupid. I am a
> beginner with Hadoop.
>
>
>
>            I am using Hadoop at windows so I have installed java in
> following directory
>
>
>
> C:\cygwin\home\HadoopAdmin\java
>
>
>
> I have given the java home as Hadoop-env file of hadoop configuration as
>
>
>
> export JAVA_HOME=/home/HadoopAdmin/java/jdk6
>
>
>
> but still if I run following command
>
>
>
> /home/ HadoopAdmin/hadoop18.3/bin/hadoop namenode -format
>
>
>
> It gives error that
>
> There is no file or directory
>
>
>
> HadoopAdmin//java/jdk6
>
>
>
> Please help me on this matter
>
>
>
> Best Regards,
>
> Harjeet Kumar
>
>
>
>

Reply via email to