Matt Porter writes:
>
> I have installed the following packages and followed the installation
> directions (http://jdee.sunsite.dk/install.html#Windows 95/98/NT
> Installation) closely. However, when I start up Emacs, I get a message
> "Symbol's value as variable is void: speedbar-version" and there are not any
> Java Menu's, JDE Menu's nor code coloring. Also, the code completion (which
> is the main thing I really like) is not working.
>
> Any help would be much appreciated.
>
Emacs 21.2.1 comes with an old version of speedbar that does not
define the variable speedbar-version, which is referenced by the JDEE
jde-mode function. It's probable that this old speedbar is being loaded
instead of the new version. This causes jde-mode to abort before it
has a chance to install the JDEE menus. A solution is to delete the
old version from the lisp subdirectory of Emacs 21.2.1. This is
covered in the JDEE installation instructions.
- Paul
> Host Platform : Windows 2000
> JDEE Version : JDE 2.2.9beta12
> NT/Emacs Version : GNU Emacs 21.2.1
> My .emacs File:
> (setq debug-on-error t)
> (setq load-path (cons "~/emacs" load-path))
> (require 'cua)
> (CUA-mode t)
> (load "hilit-java")
> (setq load-path (cons "~/emacs/w3-4.0pre.47/lisp" load-path))
>
> (add-to-list 'load-path (expand-file-name "~/emacs/site/jde/lisp"))
> (add-to-list 'load-path (expand-file-name "~/emacs/site/semantic"))
> (add-to-list 'load-path (expand-file-name "~/emacs/site/speedbar"))
> (add-to-list 'load-path (expand-file-name "~/emacs/site/elib"))
> (add-to-list 'load-path (expand-file-name "~/emacs/site/eieio"))
> (require 'jde)
>
>
> ;;SPEEDBAR
> (autoload 'speedbar-frame-mode "speedbar" "Popup a speedbar frame" t)
> (autoload 'speedbar-get-focus "speedbar" "Jump to speedbar frame" t)
> (define-key-after (lookup-key global-map [menu-bar tools])
> [speedbar] '("Speedbar" . speedbar-frame-mode) [calendar])
> (autoload 'w3-speedbar-buttons "sb-w3" "s3 specific speedbar button
> generator.")
>
>
> (setq semantic-load-turn-everything-on t)
> (require 'semantic-load)
>
> ;;(setq jde-global-classpath '("c:/jdk1.3.1_02/lib/classes.zip" "."))
>
> (require 'w3-auto)
> (autoload 'w3 "w3" "WWW Browser" t)
> (custom-set-variables)
> (custom-set-faces)
> (global-set-key [f12] 'compile)
> (setq calendar-latitude 40.39)
> (setq calendar-longitude -75.26)
> (setq calendar-location-name "Bethlehem")
>