Content Based Image Retrival using java