fix for java compile process