classLoader = runtime.getInstanceConfig().getLoader();
}
Library library = (Library) classLoader.loadClass(className).newInstance();
library.load(runtime, wrap);
} catch (RaiseException re) {
throw re;
} catch (Throwable e) {
e.printStackTrace();
throw runtime.newLoadError("library `" + libraryName + "' could not be loaded: " + e);