Exception in thread "main" java.io.IOException: Cannot run program "chmod": CreateProcess error=2

错误描述:在Myeclipse 9.0中搭建Nutch 1.2环境,运行Crawl.java时,报错如下:Exception in thread "main" java.io.IOException: Cannot run program "chmod": CreateProcess error=2

解决方法:在Cygwin中,需要先加载nutch 1.2路径。如我的nutch存放路径为F:\apache-nutch-1.2-bin\nutch-1.2。故,步骤一:cd /cygdrive/f/apache-nutch-1.2-bin/nutch-1.2

步骤二:bin/nutch。若出现如下截图,则说明配置成功。再重新启动Myeclipse 9.0即可。

你可能感兴趣的:(Exception in thread "main" java.io.IOException: Cannot run program "chmod": CreateProcess error=2)