Modified the Makefile to compile java