I use this code in Terminal:
bin/nutch crawl urls -dir crawl -depth 3 -topN 5
Nutch doesn't work and this is these are the errors written on the Terminal;
bash:bin/nutch: No such file or directory
and
Error: JAVA_HOME is not set
If you are linux user > >
export JAVA_HOME=$(readlink -f /your/jdk/path | sed "s:bin/java::")
else
export JAVA_HOME=your jdk path directly
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.