begin converting to Java; the Makefile is working