String version= inst.getJavaVersion();
if (!(inst instanceof IVMInstall2)) return false;  String version= ((IVMInstall2) inst).getJavaVersion();
	public static boolean hasMatchingCompliance(IVMInstall inst, String compliance) {		String version= inst.getJavaVersion();		if (version != null && version.startsWith(compliance)) {			return true;		}		return false;	}