Hello
I suggest RapidMiner / Yale. It is tool for data mining completely written in Java which can also be used as library. Beside a free community open source edition a enterprise edition is available, which allows you to use it in a commercial application
regards,
steffen
"I want to make computers do what I mean instead of what I say"