Step 1. Connecting WEKA to your code

·       Set class path to include weka.jar

o   In Windows:

The CLASSPATH environment variable can be set using the System utility in the Control Panel

o   In Debian Linux (on lab machines):

CLASSPATH=$CLASSPATH:/usr/share/java/weka.jar

o   Can be incorporated into javac and java commands as:

java -classpath :/usr/share/java/weka.jar utility.myapp.Cool

 

For comfort and debugging use Eclipse java developing platform

Snapshots

 

On lab machines weka.jar is in:

Root->usr->share->java->weka 3.6.jar