How to import JavaClass from JPython?

Julien Reynier julien.reynier at free.fr
Mon Jan 15 19:05:15 EST 2001


Hi,

I know how to import core API classes from JPython using for example :
from java.lang import System
But I don't know how to import an specific class for example
MyClass.class that I had developped.
If I just do the same thing that with core API classes : from my.package
import MyClass, I obtain an error message.

Is anybody knows if a classpath or other environment variables have to
be set to specific values ?

thanks...

Julien Reynier



More information about the Python-list mailing list