At 02:05 PM 5/2/00 -0400, you wrote:
>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).
>
Sounds like you have two different versions of the JDK installed on your
system. With jdb, two vm's are involved: the one started by jdb.exe to run
the debugger (the "local" vm) and the one started by the debugger to run
tha app to be debugged (remote vm). It's possible when you have two JDK's
installed for the local and remote vm's to be of different, incompatible
versions.
- Paul
>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
>=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.
------------------------------------------------------------
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