templates/: added java template

Must be S.java