If you find these things interesting, feel free to download it.
Program K-means clustering using java programming language