Hi there,
maybe Paul or someone else can help me out,
Thanks very much - George Soler
I can compile and run a "test.java" OK, but after I set a breakpoint and
run the debugger (JDE->Debug App) I get this message on the process
window:
------------------------------------------------------------------------------
*** Debugger Output for Process test(1) ***
Error: debugger unable to launch test.
Reason: VM initialization failed for:
/usr/local/java/jdk1.2.2/bin/java -Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,address=mars:1773,suspend=y -classpath
/home/soler/server/projects/classes:/usr/local/java/Progress_SonicMQ/lib/client.jar:/usr/local/java/ibusjms_3_0_1/lib/iBusJMS.jar:/usr/local/java/ibusjms_3_0_1/lib/jndi.jar
-v -verbosejni -Xmx32m -Xss1m -Xoss16m test
Error: cannot set breakpoint at line test.java in file 8.
Reason:
Error: unable to run test..
Reason: (-1 error (Malformed command: jde.debugger.JDEException:
Application 1 does not exist)).
------------------------------------------------------------------------------
The contents of the *JDEbug* buffer follow:
------------------------------------------------------------------------------
JDE> 1 2 break absolute test.java 8
(jde-dbo-command-error 2 "Application ID '1' does not exist")
JDE> 1 3 run
(jde-dbo-command-error
-1 "Malformed command: jde.debugger.JDEException: Application 1 does not
exist")
------------------------------------------------------------------------------
Host platform: Linux (RedHat 6.2)
JDE Version: jde-2.1.7
XEmacs Version: XEmacs 21.1 (patch 10) "Capitol Reef" [Lucid]
(i686-pc-linux) of Wed Jun 14 2000
I have not set a prj.el for this simple test.
The entire contents of my .emacs file follow:
-------------------------------------------------------------------------------
(setq load-path
(nconc '(
;;add paths to all downloaded add-on packages here:
"/usr/local/lib/xemacs/xemacs-packages/lisp"
"/usr/local/java/jde-2.1.7/lisp"
"/usr/local/lib/xemacs/xemacs-packages/semantic-1.1"
"/usr/local/lib/xemacs/xemacs-packages/speedbar-0.11"
"/usr/local/lib/xemacs-21.1.10/lisp"
) load-path))
(require 'jde)
;;
;;
(custom-set-faces
'(default ((t (:size "12pt" :family "Fixed"))) t)
'(pointer ((t (:foreground "yellow" :background "red"))) t)
'(secondary-selection ((t (:foreground "black" :background
"paleturquoise"))) t)
'(paren-face ((((class color) (background dark)) (:background
"limeGreen"))))
'(font-lock-string-face ((((class color) (background dark))
(:foreground "cornFlowerBlue"))))
'(vertical-divider ((t nil)) t)
'(paren-mismatch ((t (:foreground "red" :background "yellow"))) t)
'(font-lock-reference-face ((((class color) (background dark))
(:foreground "orange"))))
'(gdb-arrow-face ((t (:background "purple4"))) t)
'(paren-no-match-face ((((class color) (background dark)) (:foreground
"red" :background "yellow"))))
'(paren-mismatch-face ((((class color) (background dark)) (:foreground
"red" :background "yellow"))))
'(font-lock-doc-string-face ((((class color) (background dark))
(:foreground "steelBlue"))))
'(modeline-buffer-id ((t (:foreground "black" :background "grey66")))
t)
'(font-lock-preprocessor-face ((((class color) (background dark))
(:foreground "magenta"))))
'(modeline-mousable ((t (:foreground "black" :background "grey66"))) t)
'(font-lock-variable-name-face ((((class color) (background dark))
(:foreground "White"))))
'(right-margin ((t (:foreground "lightSeaGreen" :background "white")))
t)
'(paren-match ((t (:foreground "navy" :background "orange"))) t)
'(modeline-mousable-minor-mode ((t (:foreground "black" :background
"grey66"))) t)
'(toolbar ((t (:foreground "black" :background "fireBrick" :bold nil)))
t)
'(font-lock-keyword-face ((((class color) (background dark))
(:foreground "Green"))))
'(font-lock-builtin-face ((((class color) (background dark))
(:foreground "Tan"))))
'(yellow ((t (:foreground "yellow"))) t)
'(font-lock-constant-face ((((class color) (background dark))
(:foreground "Plum"))))
'(font-lock-type-face ((((class color) (background dark)) (:foreground
"cyan"))))
'(primary-selection ((t (:foreground "black" :background "gray65"))) t)
'(blue ((t (:foreground "DodgerBlue1"))) t)
'(paren-blink-off ((t (:foreground "black" :background "red"))) t)
'(font-lock-comment-face ((((class color) (background dark))
(:foreground "Yellow2"))))
'(font-lock-function-name-face ((((class color) (background dark))
(:foreground "red"))))
'(isearch ((t (:background "purple3"))) t)
'(highlight ((t (:foreground "white" :background "blue"))) t)
'(modeline ((t (:foreground "black" :background "grey66"))) t)
'(zmacs-region ((t (:background "blue"))) t))
(defun point-to-top ()
"put cursor on top line of window"
(interactive)
(move-to-window-line 0))
(global-set-key "\C-xt" 'point-to-top)
(defun colorize-syntax ()
"colorize syntax for C/C++"
(interactive)
(global-font-lock-mode))
(global-set-key "\C-xc" 'colorize-syntax)
(custom-set-variables
'(jde-db-option-stack-size (quote ((1 . "megabytes") (16 .
"megabytes"))))
'(compilation-ask-about-save nil)
'(paren-mode (quote paren) nil (paren))
'(jde-db-option-verbose (quote (t nil t)))
'(jde-run-option-heap-size (quote ((1 . "megabytes") (32 .
"megabytes"))))
'(jde-global-classpath (quote ("/home/soler/server/projects/classes"
"/usr/local/java/Progress_SonicMQ/lib/client.jar"
"/usr/local/java/ibusjms_3_0_1/lib/iBusJMS.jar"
"/usr/local/java/ibusjms_3_0_1/lib/jndi.jar"
"/home/soler/server/projects/xml")))
'(jde-bug-jdk-directory "/usr/local/java/jdk1.2.2")
'(jde-run-option-verbose (quote (nil nil nil)))
'(jde-db-option-heap-size (quote ((1 . "megabytes") (32 .
"megabytes"))))
'(column-number-mode t)
'(jde-compile-option-nowarn t)
'(jde-compile-option-directory "/home/soler/server/projects/classes")
'(jde-bug-jpda-directory "/usr/local/java/jdk1.2.2")
'(jde-run-option-stack-size (quote ((1 . "megabytes") (16 .
"megabytes"))))
'(jde-db-option-classpath (quote ("/home/soler/server/projects/classes"
"/usr/local/java/Progress_SonicMQ/lib/client.jar"
"/usr/local/java/ibusjms_3_0_1/lib/iBusJMS.jar"
"/usr/local/java/ibusjms_3_0_1/lib/jndi.jar")))
'(toolbar-visible-p nil)
'(jde-compile-option-sourcepath (quote
("/home/soler/server/projects/src")))
'(jde-compile-option-verbose-path t)
'(jde-compile-option-command-line-args "-g")
'(jde-compile-option-classpath (quote
("/home/soler/server/projects/classes"
"/usr/local/java/Progress_SonicMQ/lib/client.jar"
"/usr/local/java/ibusjms_3_0_1/lib/iBusJMS.jar"
"/usr/local/java/ibusjms_3_0_1/lib/jndi.jar"
"/home/soler/server/projects/xml")))
'(line-number-mode t)
'(compilation-always-signal-completion t)
'(jde-db-debugger (quote ("JDEbug" "jdb" . "Executable")))
'(jde-db-source-directories (quote ("HOME/server/projects/src/")))
'(jde-run-option-classpath (quote
("/home/soler/server/projects/classes"
"/usr/local/java/Progress_SonicMQ/lib/client.jar"
"/usr/local/java/ibusjms_3_0_1/lib/iBusJMS.jar"
"/usr/local/java/ibusjms_3_0_1/lib/jndi.jar"
"/home/soler/server/projects/xml")))
'(jde-compile-option-verbose nil)
'(jde-bug-jre-home "/usr/local/java/jdk1.2.2"))
-------------------------------------------------------------------------------
Thanks very much for your help-
-George Soler