add the following function into .bash_profile, save and exit
function wekaflstart() {
export R_HOME=/Library/Frameworks/R.framework/Resources
java -Xss10M -Xmx4096M -cp :weka.jar weka.gui.knowledgeflow.KnowledgeFlow "$1"
}
inside a directory with a weka.jar file, open its termin...