Brian Jones wrote:
> I've implemented Float.parseFloat() but Japhar doesn't find the
> function given the signature I've used for it.  Looking at the javah
> from 1.2 I can't see what I'm doing wrong.  Why does Japhar bomb
> with...

Is Float loading the library that contains this function in a static
initializer?  If not, Japhar won't find it.  Also be sure the library name
is libjaphar_xxx.so in the Makefile.am if we are building with Japhar.  Make
sure the name doesn't conflict with Japhar's existing native libs.  I
suggest libjaphar_javalang.so.

Look at FileDescriptor for an example of loading a native library.

-- 
Aaron M. Renn ([EMAIL PROTECTED]) http://www.urbanophile.com/arenn/

Reply via email to