On Wed, 16 Dec 1998, Java News Collector wrote:

> At 05:00 PM 12/16/98 -0600, Moses DeJong wrote:
> >I have not seen much about the native threads port for 1.1.7 in the
> >mailing list archives. Is there anyone out there that has gotten the
> >native threads version of 1.1.7a1 to work with JNI? I have an application
> >that compiles and works on Solaris, Windows, and IRIX but when I try to
> >run it on my RedHat5.2 (glibc) system at home I get an error like
> >"can not find java.lang.Object" when calling JNI_CreateJavaVM. The
> >CLASSPATH includes the installed classes.zip so I have no idea what
> >could be causing the error. If anyone out there wants to try out
> >the code I was compiling it can be downloaded here.
> 
> Is your CLASSPATH *really* set?  Remember that, if you classpath is set in
> a .bashrc or .bashprofile then it only gets set in a bash shell.  If you
> are invoking the JVM without a shell, you may want to take care that the
> environment is really correctly set for the process that will be exec'ing
> the JVM.
> 
> I'm not sure what you setup is like or how your program gets invoked.
> However, your error sounds like the JVM cannot find classes.zip.  I would
> begin by verifying that the environment is setup correctly and is getting
> passed along to the JVM.
> 
> Douglas Toltzman
> 


The CLASSPATH and LD_LIBRARY_PATH are set so that the classes.zip
file and the native libs are visible to the JVM. I know for a fact
that my configuration works because I can run the exact same code
under Solaris and it works perfectly. I just do not see how this
could be anything except a bug in the Native threads port of 1.1.7
from blackdown. I am not blaming anyone, the readme says the native
threads stuff is "beta" and has not been tested. I just want to know
if there is anyone out there that actually doen have the native threads
stuff working on a linux box.


thanks
mo

Reply via email to