adds option to disable the java_version_check on linux