|
Hi,I'm a greenhand in java. I tried to debug a program using
jdb but encountered a curious problem:
#javac -g MyProgram.java
Next,I start the jdb tool:
#jdb MyProgram
> run
but the following error gave:
**********************************BEGIN OF
ERROR*******************
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. Fatal error: Target VM failed to initialize.
************************************END OF
ERROR*****************************
I can find libjdwp.so under $JAVA_HOME/lib/i386/libjdwp.so.
Can anybody tell me why,thanks in advance.
Tonny.
|
