How to use JNI wrapped class in JPython

sharan_chang at my-deja.com sharan_chang at my-deja.com
Wed May 17 16:55:43 EDT 2000


I am new in JPython, plan to use JPython to test
my Java classes.

Some of my Java classes uses JNI wrapped class
and whenever I run the MyJavaClassWithJni.main
(argv) from JPython, I get
java.lang.NoClassDefFoundError:
com/lgc/sw/myJNIClass

All my JNI wrapped Java Classes are in one .jar
file and there are associated .dll files.  How
does JPython know it needs to load classes from
these files?  I tried import the .jar file and it
did not work.

- Sharan



Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list