Java generation done