[kaffe] Problem with JNI...
Timothy Stack
stack at cs.utah.edu
Tue Jun 4 07:17:04 PDT 2002
> Hi!
>
> I have a slight problem with newer CVS versions of kaffe and JNI (both
> 1.06 and 1.07-rc1). After I configure and install kaffe, I can't get it
> to work with my JNI programs. It keeps complaining that it cannot find
> the shared library I have created. I have set CLASSPATH as well as
> LD_LIBRARY_PATH to point to '.' in order to find the libraries and
> classes in the current dir, and also to the directories where kaffes
> libraries/classes are installed
>
> The CVS version I'm using now is from Apr 26 and that works just fine,
> when updating to a newer (need to install on another machine), I just
> can't get it to work...
So, what does it print out?
> I'm running Redhat 6.2 on a i386 machine. Kaffe is configured using
> "./configure --prefix=<install dir> --with-threads=unix-pthreads --without-x"
>
> If any of you either know what is wrong or what I may be doing wrong, I
> would be very grateful for a quick answer.
Can you just run something basic like:
class foo
{
public static void main(String args[])
throws Throwable
{
System.loadLibrary("myLibrary");
}
}
> regards Martin
tim stack
More information about the kaffe
mailing list