Conf something in Java