I'm new to Weka. I downloaded it and can use the GUI interface, but I cannot figure out why I cannot run it from the command line (on a Mac OS X).
I'm in bash. When I do echo $PATH, I can see the path to weka.jar, but when I run
java -cp weka.jar weka.classifiers.functions.MultilayerPerceptron
Error: Could not find or load main class weka.classifiers.functions.MultilayerPerceptron Caused by: java.lang.ClassNotFoundException: weka.classifiers.functions.MultilayerPerceptron
Now, I go to the weka folders and I can see that I have classifiers/functions/ there, but the files inside are only htmls.
I also tried
java weka.core.WekaPackageManager
Error: Could not find or load main class weka.core.WekaPackageManager Caused by: java.lang.ClassNotFoundException: weka.core.WekaPackageManager