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

Switch to Threaded View
MapReduce >> mail # user >> In Window (Cygwin) Java File not found


Copy link to this message
-
Re: In Window (Cygwin) Java File not found
Can you try deploying the JDK to a different directory that doesn't contain
spaces and setting JAVA_HOME to that?  There is a known problem when the
JDK is deployed in a directory containing spaces (like C:\Program
Files\...).

Thank you,
--Chris

On Thu, Oct 4, 2012 at 9:38 AM, Sujit Dhamale <[EMAIL PROTECTED]>wrote:

> Hi,
>
> i am trying to install Hadoop on Window , with the help of Cygwin .
>
> i configured all configuration XML like hadoop-env.sh
> ,core-site.xml,mapred-site.xml,hdfs-site.xml
>
> but while formatting Name node getting error bin/java not found .
>
> *Details  :*
> Operating Syatem : Window XP
> Hadoop Version : hadoop-1.0.3.
>
>
> SUJITD@SUJITD07 /usr/local/hadoop
> *$ java -version*
> java version "1.7.0_07"
> Java(TM) SE Runtime Environment (build 1.7.0_07-b11)
> Java HotSpot(TM) Client VM (build 23.3-b01, mixed mode
>
> SUJITD@SUJITD07 /usr/local/hadoop
> *$ echo $HADOOP_HOME*
>
>
> SUJITD@SUJITD07 /usr/local/hadoop
> *$ echo $JAVA_HOME*
> C:\Program Files\Java\jdk1.7.0_07
>
> SUJITD@SUJITD07 /usr/local/hadoop
> *$ bin/hadoop namenode -format*
> *bin/hadoop: line 320: C:\Program: command not found*
> */bin/java: No such file or directoryes\Java\jdk1.7.0_07*
> */bin/java: cannot execute: No such file or directoryk1.7.0_07*
> *
> *
> *
> *
> *
> *
> Kind Regards
> Sujit Dhamale
> (+91 9970086652)
>
>