On 23 Jun 2000, Norman Walsh wrote:

> Hmmm. I recently switched from WinNT to Linux and I guess today is the
> first time since that switch that I've tried to debug a Java app under
> JDE. I get:
> 
> > run myDOMParser ../test/test.xml
> VM initialization failed for: /usr/local/jdk1.2.2/jre/bin/java -classpath 
>/home/ndw/sun/schema/.classes -Dxml.catalog.debug=3 -Dxml.catalog.files=catalog 
>-Xdebug -Xnoagent -Djava.compiler=NONE 
>-Xrunjdwp:transport=dt_socket,address=hermes:3027,suspend=y myDOMParser 
>../test/test.xml
> 
> Can't load "libjdwp.so", because libjdwp.so: cannot open shared object file: No such 
>file or directory
> Could not create the Java virtual machine.

This is an easy one. :) Find the file libjdwp.so, which should be in your
jre/lib/i386 or whatever architecture you're using and add it to your
LD_LIBRARY_PATH environment variable.
 
> I thought I had all the right stuff, and compiling works fine, so I'm
> a little baffled. I'm running JDE 2.1.5, I think.

Upgrading to 2.1.7 is a *wonderful* idea, as the new debugger kicks a**
and takes numbers.

-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
Benjamin A. Speakmon
Associate Software Engineer, Web Products Division
TeleCommunication Systems, Inc.

Reply via email to