Java program use weka API