Humm, I am using 2.1.131 too but I am having no luck. Are you using the
JNI to create a JVM from inside a running C process? I have been able
to get some simple Java only programs working using "java -native ..."
but I have not been able to get the JNI stuff working. If you have working
JNI code could you send me a copy of you code so I can see if it works on
my machine?

Mo DeJong
[EMAIL PROTECTED]
gimme multimedia group

On Sat, 19 Dec 1998, Shane Blaser wrote:

> I am using 1.1.7 native threads on with smp(2) and it is kicks butt !!!!!
> 
> Although it was not stable until I went to version 2.1.131 of the kernel !!!
> 
> 
> Shane
> 
> Moses DeJong wrote:
> 
> > 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
> 
> ___________________________________________
> Simplify your holiday shopping...
> Visit our partners for great holiday gifts.
> http://www.netzero.net/etoys
> http://www.netzero.net/amazon
> 

Reply via email to