make monitor java compile