Nutch报错Error: JAVA_HOME is not set
来源:互联网 发布:pe软件下载 编辑:程序博客网 时间:2024/05/16 19:14
按照前辈的文章http://blog.csdn.net/zjzcl/article/details/593138,运行了一下nutch,但 在cygwin上运行nutch-1.2报错!
生成的crawl.log 中 Error: JAVA_HOME is not set
原因环境变量没有配好。
以我电脑为例配置NUTCH_JAVA_HOME为C:\Program Files\Java\jdk1.6.0_24 。注意不用加什么引号之类的。
重启cygwin即可!
接下来还会抛错:
生成的crawl.log 中 No agents listed in ‘http.agent.name’
原因在于conf/nutch-site.xml 文件<value></value>中的值为空,自己加上一些东西(我想应该是随意的),改成如下所示:
<property>
<name>http.agent.name</name>
<value>xhyzfl</value>
</property>
即可。
- Nutch报错Error: JAVA_HOME is not set
- Nutch Error: JAVA_HOME is not set (on Mac OS)
- 启动hadoop,报错Error JAVA_HOME is not set and could not be found
- 启动hadoop,报错Error JAVA_HOME is not set and could not be found
- Error: JAVA_HOME is not set and could not be found 启动hadoop报错
- zookeeper 启动报错 JAVA_HOME is not set
- 启动zookeeper报错:JAVA_HOME is not set
- localhost: Error: JAVA_HOME is not set.
- localhost: Error: JAVA_HOME is not set.
- Hadoop2.7启动报Error: JAVA_HOME is not set and could not be found解决办法
- Hadoop启动报Error: JAVA_HOME is not set and could not be found解决办法
- Hadoop启动报Error: JAVA_HOME is not set and could not be found解决办法
- Hadoop启动报Error: JAVA_HOME is not set and could not be found解决办法
- ubuntu Hadoop启动报Error: JAVA_HOME is not set and could not be found解决办法
- Hadoop启动报Error: JAVA_HOME is not set and could not be found解决办法
- Hadoop启动报Error: JAVA_HOME is not set and could not be found解决办法
- localhost: Error: JAVA_HOME is not set. [Hadoop] Error: JAVA_HOME is not set
- Error:JAVA_HOME is not set and could not be found
- 购物网站
- android的logcat详细用法
- Boost asio之网络编程
- android I/DEBUG堆栈信息
- Native code usage and analysis
- Nutch报错Error: JAVA_HOME is not set
- WdatePicker日历控件使用方法
- 会员管理系统要求
- ABAP设置输入焦点和表格控件行数的注意事项
- 过滤信息(补)
- 在jsp上设置下来列表框select为只读,且保留原值
- Unable to chmod sdcard: Read-only file system
- 跟TMD第一次敲A+B一样~
- 使用PHP发送电子邮件(注册时的激活)