String javaHome = System.getProperty("java.home");
int port = getFreePort();
String[] args = new String[] { configClass, Integer.toString(port) };
// inherit working directory from this process
javaRunner.exec(vmOptions, classpathElements, PaxExamRuntime.class.getName(), args,
javaHome, null);
@SuppressWarnings("unchecked")
Map<String, Object> context = getPluginContext();