added java template