Can i use weka from groovy
Yes, you can. Read the Using WEKA from Groovy article for more information. This article tells you how to setup the Groovy CLASSPATH, in order to make the WEKA classes available to Groovy, and also contains some sample code.