Adding makefile for Java.