William Quan <[EMAIL PROTECTED]> writes:

> However, when I attempt to do the command:
> 'LD_PRELOAD=/usr/lib/libLiS.so ... java' The process hangs(long
> pause and no sign of completion in sight)- so i kill the process.

> Q3.)Any ideas as to what might be the cause for this hangup using
> LD_PRELOAD?

Not really, I don't know what libLiS is doing internally.
 
> Q4.)How do I build my own startup program for the linux JVM, linked
> against libLiS.so ??  This sounds like I need to rebuild the java
> executable? Am I understanding you correctly?

j2sdk1.3.1/src.zip contains the source code for building launchers:
java.c, java.h, java_md.c, java_md.h

alternatively you can use the Invocation API directly:

http://java.sun.com/j2se/1.3/docs/guide/jni/jni-12.html#invo
http://java.sun.com/j2se/1.3/docs/guide/jni/spec/invocation.doc.html

(Note you have to link with libpthread in both cases.)


        Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
Run Java 2 SE v1.3.1 on your iPAQ:
http://www.handhelds.org/pipermail/ipaq/2001-June/007221.html


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

Reply via email to