I am trying to run Mahout locally (without Hadoop) on a Windows 8 Machine. I realize this is not the optimal set up but that's what I've got to work with.
When I try to run bin/mahout
I get the following error:
$ bin/mahout
MAHOUT_LOCAL is set, so we don't add HADOOP_CONF_DIR to classpath.
no HADOOP_HOME set, running locally
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/mahout/dri
ver/MahoutDriver
Caused by: java.lang.ClassNotFoundException: org.apache.mahout.driver.MahoutDriv
er
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: org.apache.mahout.driver.MahoutDriver. Program w
ill exit.
I've tried both downloading the source and installing with maven and using the precompiled distribution files, both provided here: http://www.poolsaboveground.com/apache/mahout/
I've also tried with both the 0.7 and 0.6 Mahout versions and gotten the same issue. Not sure if it has anything to do with my java version but I'm using: 1.7.0_09. Also I've set the environment variables MAHOUT_LOCAL = true
and MAHOUT_HEAPSIZE=128