Hi,

I have a jython script, which calls a Java class, which requires a certain jar to be on the classpath. I want to add the necessary jar to the classpath in jython before calling the java class. I tried the following:
sys.path.append("C:/dev/lib/myjar.jar");

However, the java class still throws NoClassDefFoundError. I also tried the following with no success:
import jreload
jreload.makeLoadSet( "myset", ["C:/dev/lib/myjar.jar"] )

How can I add a jar to java classpath before calling the java class?

Thanks.

Alec