I've just set up NT emacs and JDE and have compile/build/run working.  I
can not get the debugger to run.  It is complaining about a version
mismatch (see below).

Running WIN98
CYGWIN 1.1.0
emacs 20.6.1 Feb 29,2000

The problem shows up even if I am running under command.com with the
line
        jdb -classpath ..... MyClass



Debug Session...

cd c:/MPCSusopsSrc/ntt/qstedit/
jdb -classpath
c:/MPCSusopsLib;c:/jdk1.2/jre/lib/rt.jar;c:/jdk1.2/jre/lib/i18n.jar
-Djava.compiler=NONE ntt.qstedit.QstEdit

Initializing jdb...
Version mismatch between debugger and remote agent.



My .emacs...

(setq load-path
 (nconc
          '(
             "C:/cygnus/usr/local/bin/emacs/site"
             "c:/cygnus/usr/local/bin/emacs/site/jde-2.1.5"
             ;; Add more directories here:
           )
           load-path))
(pc-selection-mode) 
(load "cua-mode")
(CUA-mode t)
;; Tell Emacs to load the entire JDE package at startup (only once).
(require 'jde)

;; Sets the basic indentation for Java source files
;; to two spaces.
(defun my-jde-mode-hook ()
  (setq c-basic-offset 4))

(add-hook 'jde-mode-hook 'my-jde-mode-hook)

;; Include the following only if you want to run
;; bash as your shell.

;; Setup Emacs to run bash as its primary shell.
(setq binary-process-input t)
(setq shell-file-name "bash")
(setq explicit-shell-file-name shell-file-name)
(setenv "SHELL" shell-file-name)
(setq explicit-sh-args '("-login" "-i"))
(setq w32-quote-process-args ?\") ;; Use Cygnus quoting rules.
(custom-set-variables
 '(jde-compile-option-command-line-args "-g")
 '(jde-run-application-class "ntt.qstedit.QstEdit")
 '(jde-db-option-vm-args (quote ("-Djava.compiler=NONE")))
 '(jde-compile-option-sourcepath (quote ("c:/MPCSusopsSrc")))
 '(jde-db-option-classpath (quote ("c:/MPCSusopsLib"
"c:/jdk1.2/jre/lib/rt.jar" "c:/jdk1.2/jre/lib/i18n.jar")))
 '(jde-db-source-directories (quote ("c:\\MPCSusopsSrc")))
 '(jde-compile-option-directory "c:/MPCSusopsLib")
 '(jde-run-option-classpath (quote ("c:/MPCSusopsLib"))))
(custom-set-faces)

-- 
=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.
mailto:[EMAIL PROTECTED]             http://www.NTT.ca
=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.

Reply via email to