Fixes compiler warnings
Adds Java version of 'hello world'

Also includes a makefile