if (defaultVM == null || !is50VMInstall(defaultVM)) {
if (defaultVM == null || !is50orGreaterVMInstall(defaultVM)) {
		private boolean updateJRE( IProgressMonitor monitor) throws CoreException, JavaModelException {			try {				IVMInstall vm50Install= find50VMInstall();				f50JREFound= vm50Install != null;				if (vm50Install != null) {					IVMInstall install= JavaRuntime.getVMInstall(fProject); // can be null					if (fChangeOnWorkspace) {						monitor.beginTask(CorrectionMessages.ReorgCorrectionsSubProcessor_50_compliance_operation, 4);						IVMInstall defaultVM= JavaRuntime.getDefaultVMInstall(); // can be null						if (defaultVM != null && !defaultVM.equals(install)) {							IPath newPath= new Path(JavaRuntime.JRE_CONTAINER);							updateClasspath(newPath, new SubProgressMonitor(monitor, 1));						} else {							monitor.worked(1);						}						if (defaultVM == null || !is50VMInstall(defaultVM)) {							JavaRuntime.setDefaultVMInstall(vm50Install, new SubProgressMonitor(monitor, 3), true);							return false;						}						return true;					} else {						if (install == null || !is50VMInstall(install)) {							IPath newPath= new Path(JavaRuntime.JRE_CONTAINER).append(vm50Install.getVMInstallType().getId()).append(vm50Install.getName());							updateClasspath(newPath, monitor);							return false;						}					}				}			} finally {				monitor.done();			}			return true;		}