Re: Quite Well Done! (offtopic)

1998-09-13 Thread Norman Shapiro

Me too.

   [EMAIL PROTECTED]



Re: Versioning -- Linux JDK needs your HELP!

1998-09-24 Thread Norman Shapiro

Steve Byrne <[EMAIL PROTECTED]> writes:

>We need three simple pieces of
>information from you:

Note:  I am using Red Hat Linux release 4.1.  Some weeks ago I tried to upgrade
to Red Hat 5.1.  But I couldn't get Java to work.  So I downgraded back to Red
Hat 4.1 and am waiting for you guys to get the problem resolved.

>1) Your system's libc version

  libc.so.5 => /lib/libc.so.5.3.12

>2) Your system's libdl version

  libdl.so.1 => /lib/libdl.so.1.7.14 

>3) Whether you had to remove libc and libdl to make Java work for you
>
  
I did not try to remove either. I just temporarily gave up.
 

Norman Shapiro
5011 Mattos Ct
Fremont CA 94536-7170
(510) 795-1800
[EMAIL PROTECTED]



Accessing a JNIEnv pointer from within a C++ jni function

2000-03-28 Thread Norman Shapiro

The Java jni specifications require a JNIEnv* for almost all functions they
provide.  Furthermore it seems that if multiple Java threads can access the same
function, each function call must use the JNIEnv* from the current thread.

Given that function I am writing is maybe 20 deep in a call hierarchy of C++
functions I have written, is there any way of accessing the correct JNIEnv*
short of passing it all the way down as C++ function arguments?

Putting it in a global or within a global class does not work in my case because
multiple Java threads can be using the same C++ function.

I need a solution that works under Linux, though something that is portable to
Microsoft* would be ideal.

Norman Shapiro
5011 Mattos Ct
Fremont CA 94536-7170
(510) 795-1800
[EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]