System.err.println("Invalid console port: " + consolePort);
System.err.println(EclipseAdaptorMsg.formatter.getString("ECLIPSE_STARTUP_INVALID_PORT", consolePort));
	private static void startConsole(OSGi osgi, String[] consoleArgs, String consolePort) {		try {			String consoleClassName = System.getProperty(PROP_CONSOLE_CLASS, DEFAULT_CONSOLE_CLASS);			Class consoleClass = Class.forName(consoleClassName);			Class[] parameterTypes;			Object[] parameters;			if (consolePort.length() == 0) {				parameterTypes = new Class[] {OSGi.class, String[].class};				parameters = new Object[] {osgi, consoleArgs};			} else {				parameterTypes = new Class[] {OSGi.class, int.class, String[].class};				parameters = new Object[] {osgi, new Integer(consolePort), consoleArgs};			}			Constructor constructor = consoleClass.getConstructor(parameterTypes);			Object console = constructor.newInstance(parameters);			Thread t = new Thread(((Runnable) console), CONSOLE_NAME);			t.start();		} catch (NumberFormatException nfe) {			// TODO log or something other than write on System.err			System.err.println("Invalid console port: " + consolePort); 		} catch (Exception ex) {			System.out.println("Failed to find/start: " + CONSOLE_NAME);		}	}