File propfile = new File (serverProps); File hopHome = new File (propfile.getParent()); SystemProperties sysProps = new SystemProperties (propfile.getAbsolutePath()); app = new Application (appName, sysProps, hopHome);
try { File propfile = new File (serverProps); File hopHome = new File (propfile.getParent()); SystemProperties sysProps = new SystemProperties (propfile.getAbsolutePath()); app = new Application (appName, sysProps, hopHome); app.start (); } catch (Exception x) { System.err.println ("Error starting Application "+appName+": "+x); x.printStackTrace (); }
    IRemoteApp getApp (String appID) throws Exception {	if (app != null)	    return app;	File propfile = new File (serverProps);	File hopHome = new File (propfile.getParent());	SystemProperties sysProps = new SystemProperties (propfile.getAbsolutePath());	app = new Application (appName, sysProps, hopHome);	return app;    }