Re: JNI and packages

1999-09-14 Thread JB
Nathan Meyers wrote: > > Did you specify the right classname (with and without package) in the > two javah invocations? Did you notice that the two javah invocations > produced .h files with different names? Aha! So it's not 'javah MyClass' but 'javah 'org.digart.MyClass'. That did the trick. Th

Re: JNI and packages

1999-09-14 Thread Nathan Meyers
Did you specify the right classname (with and without package) in the two javah invocations? Did you notice that the two javah invocations produced .h files with different names? Nathan JB wrote: > > Nathan Meyers wrote: > > > > JB wrote: > > > > > > Hi all. I have created and successfully run

Re: JNI and packages

1999-09-14 Thread JB
Nathan Meyers wrote: > > JB wrote: > > > > Hi all. I have created and successfully run a JNI *.so on RH6 but for > > one thing. > > When I package the java src that contains the native methods, I get an > > UnsatifiedLinkerError for the method call. When I try to package it, it > > seems to load

Re: JNI and packages

1999-09-14 Thread Nathan Meyers
JB wrote: > > Hi all. I have created and successfully run a JNI *.so on RH6 but for > one thing. > When I package the java src that contains the native methods, I get an > UnsatifiedLinkerError for the method call. When I try to package it, it > seems to load properly but dies when I call any nat

JNI and packages

1999-09-14 Thread JB
Hi all. I have created and successfully run a JNI *.so on RH6 but for one thing. When I package the java src that contains the native methods, I get an UnsatifiedLinkerError for the method call. When I try to package it, it seems to load properly but dies when I call any native methods. The packa