Added java sample to collection