System.err.println(x.getMessage());
x.printStackTrace();
    public static void main(String[] args) {        try {            String installDir = getInstallDir(args);            FilteredClassLoader loader = createClassLoader(installDir);            // get the main server class            Class clazz = loader.loadClass("helma.main.Server");            Class[] cargs = new Class[]{args.getClass()};            Method main = clazz.getMethod("main", cargs);            Object[] nargs = new Object[]{args};            // and invoke the static main(String, String[]) method            main.invoke(null, nargs);        } catch (Exception x) {            // unable to get Helma installation dir from launcher jar            System.err.println("Unable to get Helma installation directory: ");            System.err.println(x.getMessage());            System.exit(2);        }    }