classpath - Mahout Java compilation issue -


I am reading Mehout In Action and I am working in chapter 2.

  $ javac RecommenderIntro .java RecommenderIntro.java thread: Error: package org.apache.mahout.cf.taste.impl.model.file Import Organization does not exist. 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 Import Association org.apache.mahout.cf.taste.impl.recommender does not exist. *;   

I have 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 Transaction Transaction Running Transaction Updating: MaHout -0.7 + 12-1 CDH 4.2.0.p0.9 L6.Narp 1/2 Cleanup: Mhout -0.7 + 8-1 cdh 4 .1.2.p0.12.el6.noarch 2/2 Verification: Mahavat-07 + 12-1 cd 4.2.0.p0.9. 66.noarch 1/2 Verification: Mahavat -0.7 + 8-1 CDH 4.1.2. P0.12.el6.noarch 2/2 Updated: mahout.noarch 0: 0.7 + 12-1.cdh4.2.0.p0.9.el6 complete!

I'm completely new to Java

Am I compiling it incorrectly?

Do I need to include some paths on the command line with applying Javak?

This is a simple Java question, installing a package is nothing but your javac < / Code> affects the order you always need to include all sections required by compiling in your -cp argument.

It is easy to use a build system, such as an IDE, or Maven, where you can import dependency.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

jsp - Google line chart x-axis shrinks on transition -

java - Reaching JTextField in a DocumentListener -