[java] added makefile it seems to work ok