Hi,
The Linux version of JDK 1.2.2 comes with a new version of jdb based on the
new Java Platform Debug Architecture (JPDA). To run this version, you need
to include libjdwp.so in your LD_LIBRARY_PATH. However, the new version of
jdb breaks the JDE's jdb interface. Therefore, you should use oldjdb, if
you want to use the JDE with jdb. Alternatively, you can use JDEbug, the
JDE's integrated JPDA-based debugger, which comes with the latest JDE beta
available on the JDE website.
- Paul
At 10:11 AM 5/8/00 +1000, you wrote:
>Hi everybody,
>
>I am new to java and jde for Xemacs.
>
>OS I am running RH6.1
>
>XEMACS 21.1
>
>Jdk 1.2.2 from sun installed in /usr/local/jdk2.2.1/
>
>Jde package for Xemacs: 2.1.5
>
>.emacs file:
>;; Set path to the location of the JDE package
> (setq load-path
> (nconc
> '(
> "/dipole/home/ivan/emacs/site/jde-2.1.5"
> )
> load-path))
>
>;; Make sure that Xemacs loads JDE
>(require 'jde)
>
>there is some other staff, but I thing it is irrelevant to JDE.
>
>
>PROBLEM: Debugger does not work
>
>Error Message:
>
>cd /home/ivan/Java/
>jdb -classpath HelloWorldApp
>
>stop in HelloWorldApp.main
>run
>Initializing jdb...
>> Deferring breakpoint HelloWorldApp.main.
>It will be set after the class is loaded.
>> run HelloWorldApp
>VM initialization failed for: /usr/local/jdk1.2.2/jre/bin/java
>-classpath -Xdebug -Xnoagent -Djava.compiler=NONE
>-Xrunjdwp:transport=dt_socket,address=dipole.es.usyd.edu.au:1589,suspend=y
>HelloWorldApp
>
>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.
>
>Debugger finished
>
>
>Thank you in advice.
>
>
>Ivan.
>
>
------------------------------------------------------------
TECH SUPPORT POLICY
I respond only to requests that contain a complete problem report. The
easiest way to ensure that your report is complete is to include the output
of the JDE->Help->Submit Problem Report command in your request.
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
JDE website: http://sunsite.auc.dk/jde/
JDE mailing list archive:
http://www.mail-archive.com/[email protected]/maillist.html