Update java.mk

Add build module for compatibility