Template for a bash script that compiles and runs java commands