remove java check