Use Maven to build the examples.
(1) mvn install
(2) java -cp dl4j-examples/target/dl4j-examples-0.4-rc0-SNAPSHOT-bin.jar "org.deeplearning4j.examples.dataExamples.CSVExample" XOR.csv 2 6 250 .1 1000
(1) Put your csv data files in dl4j-examples/src/main/resources
(2) Note the number of rows, cols, etc. in your csv file
(3) Build and run with command line arguments for any data file
Note: must rebuild when adding new data files or modifying CSVExample.java
Test XOR example (learned perfectly: accuracy == 1):
For more information, check out deeplearning4j.org and its JavaDoc.