public static void openWithNewInstance(String url) {
		String jarLocation = System.getProperty("java.class.path");
		if (IS_MAC) {
			jarLocation = ModelerUtilities.validateJarLocationOnMacOSX(jarLocation);
		}
		else if (System.getProperty("os.name").startsWith("Windows")) {
			jarLocation = "\"" + jarLocation + "\"";
		}
		String s = "java -Xmx128M -Dmw.newinstance=true -Dmw.window.left=50 -Dmw.window.top=20 -jar " + jarLocation + (hostIsLocal ? " local" : " remote") + " " + url;
		try {
			Runtime.getRuntime().exec(s);
		}
		catch (IOException e) {
			e.printStackTrace();
		}
	}