Working build for java files