private void launch(final String[] args) throws Exception {
int port = Integer.parseInt(args[0]);
Server server;
server = new Server(port);
server.publish(IJavaRuntimeInstantiator.class, new JavaRuntimeInstantiatorImpl(dropFirstArg(args)), EXPORTED_INTERFACES);
}
private String[] dropFirstArg(String[] args) {
String[] newArgs = new String[args.length - 1];
System.arraycopy(args, 1, newArgs, 0, args.length - 1);