static public Channel createSeleniumRCVM(File standaloneServerJar, TaskListener listener, Map<String, String> properties,
Map<String, String> envVariables) throws IOException, InterruptedException {
String displayName = "Selenium RC";
ClasspathBuilder classpath = new ClasspathBuilder().add(standaloneServerJar);
JVMBuilder vmb = new JVMBuilder();
vmb.systemProperties(properties);
ServerSocket serverSocket = new ServerSocket();
serverSocket.bind(new InetSocketAddress("localhost", 0));