I had the same issue.and tried several things but it didn't work. From all research.I made in forums and mailing-lists, the only solution that's working for me was to switch back to Nutch-1.2.
I wish there is a better alternative! Remi On Thursday, December 8, 2011, Jean-François Gingras < jean.francois.ging...@gmail.com> wrote: > We currently run Nutch on Windows 7. We have install it under C:\Nutch > since space in path can lead to the error you mention. > > 2011/11/7 Lewis John Mcgibbney <lewis.mcgibb...@gmail.com> > >> Hi Milan, >> >> This is coming from someone who has not used Nutch with Windows for a good >> 2 years... so please forgive if info is not accurate. Hopefully we can work >> towards getting it sorted out and update the wiki accordingly. >> >> Firstly can you please state which version of Nutch your using? As you >> mention Tomcat, I assume your using 1.2, however it would be highly >> recommended to upgrade to atleast 1.3 and use Solr for searching instead of >> using a Lucene index within Tomcat. This is however, obviously down to >> yourself. >> >> Have you set any environment variables in your windows set-up? You can do >> this by going into control panel, system settings, advanced system >> settings. >> >> Please try the above and post results. I'm not sure how many people are >> using this set up but it would be nice to get the wiki updated >> none-the-less. >> >> 2011/11/7 Milan Lučanský <milan.lucan...@ynet.sk> >> >> > Hi, >> > >> > I set up Nutch on win 7, according to: http://wiki.apache.org/nutch/** >> > GettingNutchRunningWithWindows< >> http://wiki.apache.org/nutch/GettingNutchRunningWithWindows> >> > >> > When I type bin/nutch, the usage summary appear, so I assume the Nutch is >> > installed correctly. >> > >> > Then I moved on Nutch tutorial on: http://wiki.apache.org/nutch/** >> > NutchTutorial <http://wiki.apache.org/nutch/NutchTutorial> >> > >> > But after trying to run command: >> > bin/nutch crawl urls -dir crawl -depth 3 -topN 5 >> > >> > I get the following error: >> > bin/nutch: line 251: exec: C:\Program: not found >> > >> > I tried to search for solution but without any success. >> > >> > Pleas can you halp me solve this problem? I already noticed, that win 7 + >> > cygwin is not the best combination for Nutch, but I am not experienced >> > linux/unix user, therefore I preffer little overhead against switching to >> > another operation system. >> > >> > I'm running Win 7, cygwin-1.7.9-1, Tomcat 7.0 >> > >> > Thank you in advance. >> > >> > Best regards. >> > Milan >> > >> >> >> >> -- >> *Lewis* >> > > > > -- > Jean-François Gingras > -- Remi Tassing