Hi folks!

This one is stumping me: Has anyone been able to debug JNI code on Linux?
I am having absolutely zero success :-/

I've been trying to follow the debugging examples in Rob Gordon's
Essential JNI, and can not get any of them to work (on either NT or
Linux). He refers to dbx for Solaris...my install of Linux doesn't have
this. Is this the equivalent of Sun's jdb??? If so, I've been able to run
that and actually load/execute Java classes. The problem appears to be
that its not finding the shared library files when it does a
System.loadLibrary() call.

The code works fine when I run it normally (ie. outside jdb).
Suggestions? I feel like I'm really close and its bugging me :-)

Oh to see into that little black box of native code...
Christian
--------------------------------------------
Christian Cryder
Software Engineer - UHR Infrastructure
REALM Information Technologies -  http://www.realminfo.com
Adventures in UHR - http://realm.granitepeaks.com
Plugin Version Control for Java (PVCj 1.0) - http://www.pssg.com/pvcj
--------------------------------------------
     "What a great time to be a geek"
--------------------------------------------


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

Reply via email to