<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>This is probably a simple problem to solve, but I'm new to
Kaffe.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>I have the Kaffe JVM v1.0.5 running on Linux 2.2.15. I
have been tinkering with creating an OJI plugin for Mozilla (M16) that supports
Kaffe. To see some signs of life, I wrote a small stand alone program that
takes an URL, instantiates the JVM, obtains an AppletViewer class and provides
the URL to that class. It works great, and displays the applet in a
little popup window.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>To get it to run on my machine however, I have to set the
following environment variable:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>export KAFFELIBRARYPATH=/usr/local/lib/kaffe</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Even though the Kaffe documentation says I shouldn't have to
change any environment variables, I had to set the above or it complained that
it could not find 'libnative'.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Now, when I modified my stand alone executable to load as
a plugin in Mozilla, I get an error stating that Kaffe can't open 'io'
(it throws up a big list of exceptions, with the call to load the 'io' library
being the cause) when I try and call JNI_CreateJavaVM(). I scanned my
system and libio.so is placed in the /usr/local/lib/kaffe. I added that
path to my ld.so.conf and reran 'ldconfig'. My stand alone program still
works great; I can't figure out why it won't run within Mozilla.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Any ideas? Is anyone else (or has anyone else) done any
work on an OJI plugin for Kaffe?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Thanks,</FONT></DIV>
<DIV><FONT size=2>James Ketrenos</FONT></DIV>
<DIV><FONT size=2><A
href="mailto:ketrenoj@austin.rr.com">ketrenoj@austin.rr.com</A></FONT></DIV>
<DIV> </DIV></BODY></HTML>