Hello,
I am failing to get JDEbug running on the following configuration:
Java jdk 1.5.0_01
GNU Emacs 21.4.1
OS SuSE 9.2
JDE: 2.3.5

I have carefully gone through the setup ( and numerous permutations) and have finished up that when I invoke "JDE/Debug App", I get the JDE Debug 'local variables' window up, then it just seems to hang,with no imediate message. emacs will hang for about 1 minute then be available for work.
It seems that I have not configured correctlly to actually connect to the vm or something.


The JDEbug buffer has the following output:
________________________________
cd /mnt/data/projects/busan/src/org/ho/busan/
/usr/java/jdk/bin/java -classpath /usr/local/share/emacs/21.4/site-lisp/jde-2.3.5/java/lib/jde.jar:/usr/java/jdk/lib/tools.jar jde.debugger.Main



(jde-dbo-init-debug-session)
JDE> -1 1 launch 1 -vmexec java -classpath /mnt/data/projects/busan/build/:/usr/java/junit/junit.jar:/usr/apache/commons-dbcp/commons-dbcp.jar:/usr/hsqldb/lib/hsqldb.jar:/usr/apache/commons-pool/commons-pool.jar:/usr/apache/commons-collections/commons-collections.jar org.ho.busan.view.MainApp



(jde-dbo-command-error 1 "Exception during command execution: jde.debugger.JDEException: INTERNAL ERROR: an attempt was made at deregistering a valid debugger. The debugger must be shut down first.")
__________________________________



here is my prj.el
___________________________________
(jde-project-file-version "1.0")
(jde-set-variables
'(jde-project-name "default")
'(jde-global-classpath (quote ("/mnt/data/projects/busan/build/" "/usr/java/junit/junit.jar" "/usr/apache/commons-dbcp/commons-dbcp.jar" "/usr/hsqldb/lib/hsqldb.jar" "/usr/apache/commons-pool/commons-pool.jar" "/usr/apache/commons-collections/commons-collections.jar")))
'(jde-compile-option-sourcepath (quote ("/mnt/data/projects/busan/src/")))
'(jde-sourcepath (quote ("/mnt/data/projects/busan/src" "/usr/java/jdk/src"))))


________________________________________
Here is my .gnu-emacs-custom.el

______________________
;;
;; set debug
(setq debug-on-error t)

(add-to-list 'load-path (expand-file-name "/usr/local/share/emacs/21.4/site-lisp/jde-2.3.5/lisp"))
(add-to-list 'load-path (expand-file-name "/usr/local/share/emacs/21.4/site-lisp/cedet-1.0beta3b/common"))
(add-to-list 'load-path (expand-file-name "/usr/local/share/emacs/21.4/site-lisp/elib-1.0"))
(add-to-list 'load-path (expand-file-name "/usr/local/share/emacs/21.4/site-lisp/ecb-2.31"))


(load "/usr/local/share/emacs/21.4/site-lisp/nxml-mode-20041004/rng-auto.el")
;;
;; Initialise CEDET
;;
(load-file "/usr/local/share/emacs/21.4/site-lisp/cedet-1.0beta3b/common/cedet.elc")
(require 'ecb)
;;
;; Initialise JDEE
;;
(require 'jde)
;;(require 'jde-junit)
;;)


;;
;; set up to use nxml-mode on all .xml files
;;
(setq auto-mode-alist
       (cons '("\\.\\(xml\\|xsl\\|rng\\|xhtml\\|jdnc\\)\\'" . nxml-mode)
         auto-mode-alist))

;;
(custom-set-variables
;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
;; Your init file should contain only one such instance.
'(browse-url-netscape-program "/usr/share/firefox/firefox")
'(case-fold-search t)
'(ecb-source-path (quote (("/mnt/data/projects" "projects") ("/mnt/data/projects/busan" "busan") ("/mnt/data/projects/busan/src" "busan src"))))
'(jde-debugger (quote ("JDEbug")))
'(jde-global-classpath (quote ("/usr/java/jdk/lib/tools.jar" "/usr/java/jdk/jre/lib/" "/mnt/data/projects/busan/build/" "/usr/java/junit/junit.jar" "/usr/apache/commons-dbcp/commons-dbcp.jar" "/usr/hsqldb/lib/hsqldb.jar" "/usr/apache/commons-pool/commons-pool.jar" "/usr/apache/commons-collections/commons-collections.jar")))
'(jde-jdk-registry (quote (("1.5.0_01" . "/usr/java/jdk"))))
'(jde-run-classic-mode-vm t)
'(jde-sourcepath (quote ("/mnt/data/projects/busan/src" "/usr/java/jdk/src")))
'(mouse-wheel-mode t nil (mwheel)))


(custom-set-faces
 ;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
 ;; Your init file should contain only one such instance.
)
__________________________
as you can see, quite minimal.

here is the LD_LIBRARY_PATH: bash: :/usr/java/jdk/jre/lib/i386
here is $PATH: bash: /usr/java/jdk/bin:/usr/java/jdk/jre/bin:/home/hans/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:


The Java jdk is installed in /usr/java/jdk


I've had all this working under XP, but hit a roadblock with linux.

I've also tried settup up jdb with the same result.

Any help would be appreciated

Hans

Reply via email to