I installed the latest emacs (21.1), jde (2.2.8), semantic (1.3.3),
speedbar (0.13a), eieio (0.16) and elib (1.0) in a Windows NT 4.0 SP 6
environment.
When I invoke a file with a .java extension, I get the following error:
File mode specification error: (file-error "Cannot open load file"
"semantic")
I went through the FAQ & Trouble Shooting guide, but didn't see any
obvious. Has anyone run into this error and how can I fix the problem? Any
help would be appreciated. The following is the contents of my .emacs file:
(setq debug-on-error t)
(add-to-list 'load-path (expand-file-name "D:/emacs-21.1/site/jde-2.2.8/lisp"))
(add-to-list 'load-path (expand-file-name "D:/emacs-21.1/site/semantic-1.3.3"))
(add-to-list 'load-path (expand-file-name "D:/emacs-21.1/site/speedbar-0.13a"))
(add-to-list 'load-path (expand-file-name "D:/emacs-21.1/site/eieio-0.16"))
(add-to-list 'load-path (expand-file-name "D:/emacs-21.1/site/elib-1.0"))
(setq defer-loading-jde t)
(if defer-loading-jde
(progn
(autoload 'jde-mode "jde" "JDE mode." t)
(setq auto-mode-alist
(append
'(("\\.java\\'" . jde-mode))
auto-mode-alist)))
(require 'jde))
(defun my-jde-mode-hook ()
(setq c-basic-offset 2))
(add-hook 'jde-mode-hook 'my-jde-mode-hook)