JDEBug fails due to invalid path
Brought to you by:
tanner
Using the latest packages - trying to start JDEbug
fails - and the *Messages* buffer clearly shows why -
it's trying to launch:
java -classpath
/usr/share/emacs/site-lispjava/lib/jde.jar:/usr/java/jdk1.3.1_01/lib/tools.jar
jde.debugger.Main
The following patch fixes the problem - but may not be
the "right" way to do it: (Specifically, it's known
not to work if jde-bug-debug is set - but I don't see
the jdebug source in the RPM, so I don't see how that
could ever work with this package).
Logged In: NO
Ok, I had attached a patch - but it apparently didn't make it.
Here goes again (inline this time):
--- /usr/share/emacs/site-lisp/jde/jde-dbs.el.orig Mon
Jan 7 10:54:57 2002+++
/usr/share/emacs/site-lisp/jde/jde-dbs.el Mon Jan 7
10:59:22 2002
@@ -846,9 +846,7 @@
source-directory))
(vm (jde-dbs-choose-vm))
(jde-java-directory
- (concat
- (jde-find-jde-data-directory)
- "java/"))
+ "/usr/share/java/")
(vm-args
(let (args)
(setq args
@@ -859,7 +857,7 @@
(jde-build-classpath
(list
(expand-file-name
- (if jde-bug-debug
"classes" "lib/jde.jar")
+ (if jde-bug-debug
"classes" "jde.jar")
jde-java-directory)
(if
jde-bug-vm-includes-jpda-p
(expand-file-name