java configuration fix