removed java check