Added templates for java.sh and cons3rt.sh