Do not insist on helma.jar to be in classpath. This is useful for running Helma

in alternative environments such as GCJ.
This commit is contained in:
hns 2005-08-09 17:32:39 +00:00
parent 7e44b71d6d
commit 42a088ef58

View file

@ -89,10 +89,11 @@ public final class TypeManager {
}
if (helmajar == null) {
throw new RuntimeException("helma.jar not found in embedding classpath");
// throw new RuntimeException("helma.jar not found in embedding classpath");
loader = new AppClassLoader(app.getName(), new URL[0]);
} else {
loader = new AppClassLoader(app.getName(), new URL[] { helmajar });
}
loader = new AppClassLoader(app.getName(), new URL[] { helmajar });
}
/**