How do I debug a Java program from within Emacs?
Here’s some notes for using jde.el within Xemacs: • put these into your .emacs file (~/.xemacs/custom.el with some versions of XEmacs): (jde-set-global-classpath (getenv “CLASSPATH”)) otherwise jde-db.el runs jdb with a blank -classpath argument (probably a bug). (setq jde-compile-option-command-line-args “-g”) turns on debugging support. • Run jde-db-set-app-args to interactively set the command line args for the application you are debugging.