Hi, In Windows XP I installed Cygwin and tried to run Hadoop:
W1234@W19064-00 /cygdrive/d/Profiles/w1234/My Documents/Hadoop/hadoop1.0/hadoop-1.0.0 $ bin/hadoop start-all.sh bin/hadoop: line 2: $'\r': command not found bin/hadoop: line 17: $'\r': command not found bin/hadoop: line 18: $'\r': command not found bin/hadoop: line 49: $'\r': command not found : No such file or directoryn bin/hadoop: line 52: $'\r': command not found bin/hadoop: line 60: syntax error near unexpected token `$'in\r'' 'in/hadoop: line 60: `case "`uname`" in $ I have this in the file hadoop-env.sh export JAVA_HOME=c:\\Program\ Files\\Java\\jdk1.7.0_02 How could I possibly fix it? Thanks a lot!