add function for java compilation and running
Merge branch 'master' of https://github.com/darylsew/dot