remove java version check