Hello,
I sent an earlier email directly from emacs, I'm not sure if I had my emacs
mail set up correctly so here it is again.
I've been using Emacs JDE and JDEbug on an NT box. I copied my setup etc.
onto a Win2K box. JDEbug doesn't appear to load correctly.
Windows 2000
Emacs 20.7.1
JDE 2.2.2
Thanks!
Mike
Here's the contents of my .emacs file, the messages and JDEbug buffers
*************.EMACS***********************
;; This .emacs file illustrates the minimul setup;; required to run the JDE.
;; Update the Emacs load-path to include the path to
;; the JDE. This code assumes that you have installed
;; the JDE in the specified subdirectory of your home;; directory.(setq
load-path
(setq load-path
(nconc
'(
;; "~/emacs/cua"
;; "~/emacs/semantic-1.2"
"~/emacs/semantic-1.2.1"
"~/emacs/speedbar-0.11.1"
;; "~/emacs/jde-2.1.8/lisp"
"~/emacs/jde-2.2.2/lisp"
;; Add more directories here:
)
load-path)
)
;;(load-file "~/emacs/mikel/mikel_tabber.macs")
;;(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 ()
(message "loading my-jde-mode-hook")
(setq c-basic-offset 2)
(c-set-offset 'substatement-open 0)
(c-set-offset 'statement-case-open 0)
(c-set-offset 'case-label '+)
(define-key c-mode-base-map "\C-m" 'newline-and-indent)
(message "my-jde-mode-hook loaded")
)
(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-help-docsets (quote (("javadoc" "D:\\JDK1.3\\DOCS\\API" nil)
("javadoc" "e:\\java\\imports\\aelfred\\docs" nil) ("javadoc"
"e:\\java\\imports\\sax\\docs" nil))))
;; '(jde-compile-option-debug (quote ("all" (t nil nil))))
;; '(mail-host-address "attachmate.com")
'(jde-compile-option-sourcepath (quote ("e:\\java\\sources")))
;; '(jde-db-startup-commands nil)
'(jde-bug-jdk-directory "d:/jdk1.3/")
'(jde-build-use-make t)
'(jde-quote-classpath nil)
'(jde-db-source-directories (quote ("e:/java/sources/" "d:/jdk1.3/src/")))
'(jde-db-set-initial-breakpoint t)
'(jde-run-option-application-args nil)
'(jde-compile-option-directory "e:\\java\\output")
'(jde-make-program "gnumake")
'(jde-run-executable-args nil)
'(jde-db-debugger (quote ("JDEbug" "oldjdb" . "Executable")))
'(jde-run-working-directory "e:/java/output")
'(jde-global-classpath (quote ("e:\\java\\output")))
'(jde-bug-vm-includes-jpda-p t)
'(jde-db-option-application-args nil)
'(jde-bug-raise-frame-p nil)
'(jde-make-args "")
'(jde-run-classic-mode-vm t)
'(user-full-name "\"Michael P. Lusby\""))
(custom-set-faces)
************JDEBUG****************************
cd e:/java/output
javaw -classpath
c:/usr/home_jdk1.3/emacs/jde-2.2.2/java/lib/jde.jar;d:/jdk1.3/lib/tools.jar
jde.debugger.Main
(jde-dbo-init-debug-session)
JDE> -1 1 launch 1 -vmexec javaw -classic -classpath e:\java\output Test
(jde-dbo-message 1 "VM options: '-classic '")
(jde-dbo-message
1 "Launched VM Java Debug Interface (Reference Implementation) version 1.3
Java Debug Wire Protocol (Reference Implementation) version 1.0
JVM Debug Interface version 1.0
JVM version 1.3.0 (Classic VM, native threads, nojit)")
(jde-dbo-event-set
1 "all"
(list "Thread" 1 "main" "runnable" "suspended by debugger"
(list)
(list)
nil)
(list 'jde-dbo-vm-start-event))
************MESSAGES*************
For information about the GNU Project and its goals, type C-h C-p.
Setting JDE variables to startup values...
Fontifying Test.java...
Fontifying Test.java... (regexps.............)
Setting JDE variables to startup values...
loading my-jde-mode-hook
my-jde-mode-hook loaded
No response to command 1. (process = 1; timeout = 10 sec.)
Loading emacsbug...
Loading emacsbug...done
Loading view...
Loading view...done
Fontifying *mail*...
Fontifying *mail*... (regexps........)
Loading view...done
Beginning of buffer
Making completion list...
Wrong type argument: number-or-marker-p, nil
Fontifying .emacs...
Fontifying .emacs... (regexps............)
Mark set
Auto-saving...
Auto-saving...done
Beginning of buffer
Mark set
Saved text from "(d:\emacs-20.7\bin\emacs.exe Test.java)
"
Mark set [2 times]
Saved text from "cd e:/java/output
javaw -classpath c:/us"
Mark set
End of buffer [7 times]
Auto-saving...
Auto-saving...done
Sending...
Sending...done
Beginning of buffer
Mark set [2 times]
Saved text from ";; This .emacs file illustrates the mini"
Beginning of buffer
Mark set [4 times]