Mahout Java compilation issue

I am reading Mahout in Action and working through the first example in chapter 2. $ javac RecommenderIntro.java RecommenderIntro.java:2: error: package org.apache.mahout.cf.taste.impl.model.file does not exist import org.apache.mahout.cf.taste.impl.model.file.*; ^ RecommenderIntro.java:3: error: package org.apache.mahout.cf.taste.impl.neighborhood does not exist import org.apache.mahout.cf.taste.impl.neighborhood.*; ^ RecommenderIntro.java:4: error: package org.apache.mahout.cf.taste.impl.recommender does not exist import org.apache.mahout.cf.taste.impl.recommender.*; I installed Mahout via yum: $ sudo yum install mahout ... Downloading Packages: mahout-0.7+12-1.cdh4.2.0.p0.9.el6.noarch.rpm | 94 MB 05:17 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : mahout-0.7+12-1.cdh4.2.0.p0.9.el6.noarch 1/2 Cleanup : mahout-0.7+8-1.cdh4.1.2.p0.12.el6.noarch 2/2 Verifying : mahout-0.7+12-1.cdh4.2.0.p0.9.el6.noarch 1/2 Verifying : mahout-0.7+8-1.cdh4.1.2.p0.12.el6.noarch 2/2 Updated: mahout.noarch 0:0.7+12-1.cdh4.2.0.p0.9.el6 Complete! I am also completely brand new to Java. Am I compiling this incorrectly? Do I need to specify some include paths on the command line with invoking javac?
Don't you have to include the library in your Java project path?

以上就是Mahout Java compilation issue的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏