Fix a java compile