Intro: Does System.load() require a FULL complete path or does it consider LD_LIBRARY_PATH under Solaris (Sparc)? Details: My understanding is that...
Jordan Bigel
jordanb@...
Jun 1, 1998 9:30 pm
106
Yes loadLibrary prepends "lib" and appends ".so". As for using System.load(), I have never tried it....
John Hughes
johnh@...
Jun 1, 1998 9:39 pm
107
... As a temporary workaround, you might try creating a symbolic link that links libspecial.so to special.so.6.0 See: ln(1) -Sean...
Sean C Sullivan
sullis@...
Jun 1, 1998 9:52 pm
108
Hi! what's the big difference in using the -jni switch in javah? Is there a description how to use JNI without the -jni switch? Are there any advantages? ...
Vedovato Paolo
paolo.vedovato@...
Jun 2, 1998 12:55 pm
109
Quite a few to mention. Refer to the book "Essential JNI - Java Native Interface" by Rob Gordon. Nipunika Kabadi BAM - Provisioning Services x7442 ...
NKabadi@...
Jun 2, 1998 1:28 pm
110
Hi everybody I am new to this mailing list, so please excuse me if my question has already been asked. Does someone know if there is an article, a white paper...
Laurence ROSE
lr@...
Jun 2, 1998 2:49 pm
111
Excerpts from jnative-l: 2-Jun-98 [JNATIVE-L] -jni switch in .. Vedovato Paolo@... (337*) ... Without the -jni switch, javah prepares C header files for...
Blair Wyman
wyman@...
Jun 2, 1998 3:06 pm
112
... We can write native methods for 1.1 JVM in old 1.0 style. Sun doesn't support old style with 1.2, at least beta3... Kazuyuki SHUDO Happy Hacking! ...
SHUDOH Kazuyuki
shudoh@...
Jun 2, 1998 3:24 pm
113
Excerpts from jnative-l: 3-Jun-98 Re: [JNATIVE-L] -jni switch.. SHUDOH Kazuyuki@muraoka. (609) ... I stand corrected. I took a quick grep through Sun's JVM...
Blair Wyman
wyman@...
Jun 2, 1998 4:46 pm
114
... Laurence, If you are looking for a solution that will enable your Java application to handle all Java-To-Native interfaces from a single piece of code, ...
Alec Dorfman
alec@...
Jun 2, 1998 7:20 pm
115
Hello! I posted this to a couple of newsgroups hoping for an answer, but alas no response. So ya'll are my last chance. I have recently run across a problem...
Steven Kouri
skouri@...
Jun 5, 1998 2:05 pm
116
Storing some object in a GCFrame in RNI does not prevent the collector from moving the object but it requires the collector to update the GCFrame if the object...
jacobi.PARC@...
Jun 5, 1998 3:06 pm
117
Is there a site for all FAQ to jnative-l Just starting on JNI Thanks Seema Also, this may have been answered before but all the "Hello Native World" examples...
Seema Jetli
SMJ@...
Jun 5, 1998 3:34 pm
118
... collector ... Perhaps I didn't phrase my question correctly then. I understand that garbage collection doesn't occur when in a native thread unless (1) you...
Steven Kouri
skouri@...
Jun 5, 1998 4:33 pm
119
... You are not wrong; my answer didn't take care of all cases ... Garbage collection is not a per thread feature in rni; if any thread prevents garbage...
jacobi.PARC@...
Jun 5, 1998 4:47 pm
120
... The way I understand it is, whichever thread is currently running owns the "lock". If two threads exist, and thread 1 is currently running, then it owns...
Steven Kouri
skouri@...
Jun 5, 1998 5:56 pm
121
Forwarding... ... From: Ford McKinstry <fordm@...> To: "'jnative-l@...'" <jnative-l@...> Cc: "'Christian_P_Jacobi.PARC@...'" ...
Sean C Sullivan
sullis@...
Jun 5, 1998 6:19 pm
122
Also, you might want to use GCNewHandle()/GCFreeHandle() to give you some peice of mind. I do. I believe this makes a new 'reference' to a Java object (ie. if...
Jordan Bigel
jordanb@...
Jun 5, 1998 6:23 pm
123
Considering the case of pointers kept longer than the lifetime of the function, in global storage, GCGetWeakPtr() Would seem to be an alternative to GCFrames....
Jordan Bigel
jordanb@...
Jun 6, 1998 12:25 am
124
Is it possible for two independent applications with their own main()'s to communicate in Java? For example, change of size or location in one window...
Kang Pilsung
revised@...
Jun 8, 1998 1:46 am
125
... I don't know about a FAQ, but to use cout, I would think all you'd have to do is link with libC. Note that libc isn't explicitly loaded, its one of the...
Buzzy Brown
buzzy@...
Jun 8, 1998 3:07 pm
126
... application? ... You can use local TCP/IP or even better, RMI to do the job. This way you don't have to even use native code. I've done it before and it...
Buzzy Brown
buzzy@...
Jun 8, 1998 3:10 pm
127
(re-)bonjour, je précise apres avoir avancé un peu dans mon probleme. J'utilise JNI, donc je linke une librairie C depuis Java System.loadlibrary ) sur une...
Antoine Driard
driard@...
Jun 8, 1998 3:46 pm
128
plus précisément je recois ce message d'erreur dans la console JAVA quand j'appelle la fonction native Initialize() : # Applet exception: Initialize ...
Antoine Driard
driard@...
Jun 8, 1998 4:01 pm
129
I have done this between different JAVA apps and between JAVA & Native apps by using sockets. ... communicate in Java? ... noticed by the other application? ...
John Hughes
johnh@...
Jun 8, 1998 4:15 pm
130
Hope someone has some wisdom on this. I want to do something like the following in my native code: JNIEXPORT jint JNICALL Java_classname_funcName(JNIEnv *env,...
James T. Vradelis
jvradelis@...
Jun 8, 1998 9:09 pm
131
Forwarding... -- From: Ford McKinstry <fordm@...> To: "'jnative-l@...'" <jnative-l@...>, neva@... Cc:...
Sean C Sullivan
sullis@...
Jun 8, 1998 9:38 pm
132
... Actually, I *am* using GCGetNewHandle() to create a "strong" ptr - so I'm not concerned that it might be collected. Rather, from this thread, it sounds...
Jordan Bigel
jordanb@...
Jun 8, 1998 9:57 pm
133
Ok, either I'm not making myself clear, or I'm not following some things myself. Let me go back to one of my original questions stated differently: Suppose I...
Steven Kouri
skouri@...
Jun 8, 1998 10:02 pm
135
I would certainly call ReleaseStringUTF() on UTFstr1 before throwing the exception when getStringUTFChars() fails for UTFstr2. I do believe this would result...