At 21:49 19/07/99 +0100, Thomas Nichols wrote:
>Hello,
>Running XEmacs/NT 21.1.3, JDE 2.1.6beta4 -- I have
> > (custom-set-variables
> > '(jde-run-java-vm-w "java"))
>as per Paul Krause's suggestion -- and it very nearly works! When I do M-x
>bsh [return] I get the following:
>===
>java.lang.NoClassDefFoundError:
>Files/XEmacs/xemacs-packages/etc/jde/java/lib/jde/jar;c:/Program
>Exception in thread "main"
>Process bsh exited abnormally with code 1
>===
>
>This looks rather much as though it has munched the space in
>"C:\Program Files" (who was responsible for that enlightened decision,
>anyway?) and ended up with a mess.
>
>I've tried package-delete on jde, removed all JDE files from C:\Program
>Files, then installed jde-2.1.6beta4 to "e:\apps\jde216b4". However,
>although the load-path shows "e:\\apps\\jde216b4\\lisp\\" as its first
>item (I used nconc in .emacs) when I do
>(require 'jde) "C-x C-e"
>I get
>Cannot open load file: jde
>The lisp files are in "e:\apps\jde216b4\lisp", the docs
>in."e:\apps\jde216b4\etc", Java stuff under "e:\apps\jde216b4\etc".
>
>So...
>
>1. Will beanshell only run from locations without a space in the path?
ANSWER = Yes, that' is correct.
>2. Why can't I relocate jde? Where's my mistake?
ANSWER = The load-path should be
"e:\\apps\\jde216b4\\lisp\\jde\\", not just
"e:\\apps\\jde216b4\\lisp\\" -- but that still doesn't work, because it
can't find the Java files.
>Many thanks to Paul Krause and Andy Piper for their help. I'm sure I'm
>very nearly there!
THIS NOW WORKS -
subst x: "C:\Program Files"
nmake all -f xemacs.mak PACKAGE_PREFIX=X:\XEmacs
(copy xemacs.exe to x:\xemacs-21.1.3/i386-pc-win32)
(install jde 2.1.6b4 in X:\XEmacs\xemacs-packages)
M-x bsh now brings up the % prompt ok
This way everything still sits in C:\Program Files\XEmacs, but the subst
removes the "space in the pathname" problem.
It also demonstrates that this IS the problem - and since Program Files is
the dfault install dir, it's probably worth fixing.
Thanks to all for advice and help,
Regards,
Thomas.
----
Thomas Nichols, Worcester, UK