0

当我执行以下命令时:

Anands@Tx-D-AnandS /usr/local/hadoop-1.1.2

$ bin/hadoop 版本

我收到以下错误:

cygwin warning:
    MS-DOS style path detected: C:\Program_Files\Java\jre6\x0D/bin/java
    Preferred POSIX equivalent is: /cygdrive/c/Program_Files/Java/jre6\x0D/bin/java
    CYGWIN environment variable option "nodosfilewarning" turns off this warning.
    Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
    /bin/java: No such file or directoryes\Java\jre6
    /bin/java: No such file or directoryes\Java\jre6
    /bin/java: cannot execute: No such file or directorye6

谁能帮我这个?任何帮助表示赞赏!

4

1 回答 1

1

为java设置系统环境变量

也在export JAVA_HOME=c:/Program_Files/Java/jre6hadoop-evn.sh 文件中设置。

于 2013-05-22T21:38:18.243 回答