IVMInstall install= JavaRuntime.getVMInstall(JavaCore.create(fProject)); isVisible= (install == null) || !BuildPathSupport.hasMatchingCompliance(install, VERSION_1_5);
install= JavaRuntime.getVMInstall(JavaCore.create(fProject));
	private void validateJRE50Status() {		if (fJRE50InfoText != null && !fJRE50InfoText.isDisposed()) {			boolean isVisible= false;			String compliance= getStoredValue(PREF_COMPLIANCE); // get actual value			if (VERSION_1_5.equals(compliance)) {				if (fProject != null) { // project specific settings: only test if a 50 JRE is installed					try {						IVMInstall install= JavaRuntime.getVMInstall(JavaCore.create(fProject));						isVisible= (install == null) || !BuildPathSupport.hasMatchingCompliance(install, VERSION_1_5);					} catch (CoreException e) {						JavaPlugin.log(e);					}				} else {					IVMInstall defaultVMInstall= JavaRuntime.getDefaultVMInstall();					isVisible= (defaultVMInstall == null) || !BuildPathSupport.hasMatchingCompliance(defaultVMInstall, VERSION_1_5);				}			}			fJRE50InfoText.setVisible(isVisible);		}	}