The error message has nothing to do with JAVA_HOME
. You have to add the path where your java is to the PATH
variable:
PATH=$PATH:/path/to/java export $PATH
Ich versuche, Hadoop in Cygwin zu konfigurieren. Ich habe JAVA_HOME
als /cygdrive/c/work/java/jdk1.6.0_30
Echo eingestellt $JAVA_HOME
, es wird korrekt angezeigt.
Wenn ich den Befehl ausführen bin/hadoop version
, wird folgende Fehlermeldung angezeigt:
/bin/java :No such file or directory.
The error message has nothing to do with JAVA_HOME
. You have to add the path where your java is to the PATH
variable:
PATH=$PATH:/path/to/java export $PATH