add Java examples to repository