Nicolas MARTIN pisze:
Hi,
I run nutch under Windows using cygwin. When i try a basic command like :
bin/nutch crawl urls -dir crawl -dpeth 3 -topN 50 i have the error in the
title of this message.
However i have already defined an environment variable JAVA_HOME in
windows...
Still I have to export JAVA_HOME ? I don't remember for having done it the
first i run Nutch succesfully.
TY
You must export JAVA_HOME in cygwin with command like:
export JAVA_HOME='/cygdrive/c/Program\ Files/Java/your_java_dir'
And simply adding it to your user .bashrc
lik: /home/user/.bashrc in your cygwin installation