added java version + compile&run script
Merge pull request #3 from bjarkefr/java

added java version + compile&run script