System.setProperty("net.jxta.tls.principal", "server");
System.setProperty("net.jxta.tls.password", "password");
System.setProperty("JXTA_HOME", System.getProperty("JXTA_HOME", "server"));
File home = new File(System.getProperty("JXTA_HOME", "server"));
if (!JxtaSocketExample.configured(home)) {
JxtaSocketExample.createConfig(home, "JxtaServerSocketExample", true);
}