Subject: Re: Netbsd and JNI
To: None <>
From: Christos Zoulas <>
List: tech-pkg
Date: 07/12/2002 18:42:36
In article <005301c22990$e5cb4a90$>,
Erik Mattsson <> wrote:

What jvm is that? Looks to me that you are running a linux binary maybe
and it links it the NetBSD libm?


>Im working on setting up a servlet that uses JNI on a netbsd box. The
>servlet works fine
>on a solaris and windows box.
>Ive managed to compile everything and it looks fine BUT when I then run
>the java test program (testing outside the servlet) it shoves this error
>onto me:
>Starting to decode JP2
>Exception in thread "main" java.lang.UnsatisfiedLinkError:
>/home/bob/jpeg2k/java/ /usr/lib/
>undefined symbol:
>        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
>        at java.lang.ClassLoader.loadLibrary0(
>        at java.lang.ClassLoader.loadLibrary(
>        at java.lang.Runtime.loadLibrary0(
>        at java.lang.System.loadLibrary(
>        at
>        at MainServletTest.main(
>It complains on a library that I havent created.. Now I wonder how I
>should counter this problem!?
>Any help is appreciated!!
>Erik Mattsson
>imBridge AB
>Vasaplatsen 8
>SE-411 34 Göteborg
>Phone: +46-31-138310
>Mobile: +46-733-174116