String version= System.getProperty("java.version"); if (version == null) return null; if (version.startsWith("1.2") || version.startsWith("1.3")) return null;
	public File detectInstallLocation() {		File javaHome= new File (System.getProperty("java.home"));		File java= new File(javaHome, File.separator+"bin"+File.separator+"java");		File javaExe= new File(javaHome, File.separator+"bin"+File.separator+"java.exe");		if (!(java.isFile() || javaExe.isFile()))			return null; 		String vendor= System.getProperty("java.vendor");		if (!(vendor.startsWith("Sun") || vendor.startsWith("IBM")))			return null;		if ("J9".equals(System.getProperty("java.vm.name")))			return null;		String version= System.getProperty("java.version");		if (version == null)			return null;		if (version.startsWith("1.2") || version.startsWith("1.3"))			return null;		return javaHome;	}