Here is an example code. You may find it helpful. I'm not a professional Java developer.
http://www.cnblogs.com/zhangchaoyang/articles/2200800.html
There seems to be error in it, but you may try to create a class named as BIRCH other than birch.
Forum:
The Data Mining / Big Data Forum