protected void doConsole(OSGi osgi, String[] consoleArgs) {
private void doConsole(OSGi osgi, String[] consoleArgs) {
	protected void doConsole(OSGi osgi, String[] consoleArgs) {		Constructor consoleConstructor;		Object osgiconsole;		Class[] parameterTypes;		Object[] parameters;		try {			Class osgiconsoleClass = Class.forName(osgiConsoleClazz);			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};			}			consoleConstructor = osgiconsoleClass.getConstructor(parameterTypes);			osgiconsole = consoleConstructor.newInstance(parameters);			Thread t = new Thread(((Runnable) osgiconsole), OSGI_CONSOLE_COMPONENT_NAME);			t.start();		} catch (NumberFormatException nfe) {			System.err.println(NLS.bind(Msg.LAUNCHER_INVALID_PORT, consolePort)); //$NON-NLS-1$		} catch (Exception ex) {			informAboutMissingComponent(OSGI_CONSOLE_COMPONENT_NAME, OSGI_CONSOLE_COMPONENT);		}	}