you need elib-1.0 in your load path.
> -----Original Message-----
> From: Kevin Lee [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, March 12, 2001 5:40 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Problem with running jde
>
> Hi, I have NT Emacs 20.7.1 on Windows ME, JDE 2.2.6. I am encountering
> the following error which causes JDE not to start when opening up Emacs:
>
> "Error in init file: File error: "Cannot open load file", "avltree"
>
> Following is the complete .emacs configuration file with modification of
> paths, can somebody tell me what's wrong? Also I read the
> <http://jde.sunsite.dk/install.html> page and doesn't seem to find elib
> package, which I thought might be the cause of error. Where can I get the
> package?
>
>
> (setq load-path (cons "c:/jde-2.2.6/lisp" load-path))
> (setq load-path (cons "c:/emacs-20.7/semantic-1.3.3" load-path))
> (setq load-path (cons "c:/emacs-20.7/speedbar-0.13a" load-path))
> (setq load-path (cons "c:/emacs-20.7/eieio-0.16" load-path))
>
> ; Uncomment this line if you want the JDE to be automatically
> ; loaded every time Emacs starts
> (require 'jde)
>
> (column-number-mode t)
>
> ; Set the backspace key (Ctrl-h) to delete backwards and
> ; help to be Ctrl-x?
> (global-set-key "\C-h" 'delete-backward-char)
> (global-set-key "\C-c\C-h" 'help-command)
> (global-set-key [f1] 'help-command)
>
> ; Useful shortcuts
> (global-set-key "\M-g" 'goto-line)
> (global-set-key "\M-n" 'switch-to-buffer) ; was 'view-file
> (global-set-key "\M-o" 'other-window)
>
> ; Default text features
> (setq inhibit-startup-message t)
> (setq next-line-add-newlines nil)
> (setq require-final-newline t)
> (setq-default truncate-lines nil)
>
> ; Auto-fill in text mode by default
> (setq text-mode-hook (quote (lambda nil (auto-fill-mode 1))))
> (setq-default fill-column 79)
> (setq-default auto-fill-hook 'do-auto-fill)
>
> ; Default mode is text
> (setq default-major-mode 'text-mode)
> (text-mode)
>
> ; Time and mail flag
> (display-time)
>
> ; Ispell
> (autoload 'ispell-word "ispell" "Check spelling of word at or before
> point" t)
> (autoload 'ispell-complete-word "ispell" "Complete word at or before
> point" t)
> (autoload 'ispell-region "ispell" "Check spelling of every word in the
> region" t)
> (autoload 'ispell-buffer "ispell" "Check spelling of every word in the
> buffer" t)
>
> ; Java mode
> ; -- Java Development Environment
>
> ;*** Java mode
> ;--- ---------
> (add-hook 'java-mode-hook
> '(lambda ()
> (local-set-key "\C-c\C-c" 'jde-compile); was comment-region
> (local-set-key "\C-c\C-r" 'jde-run)
> (local-set-key "\C-c\C-z" 'comment-region)
> (make-local-variable 'compile-command)
> (setq compile-command
> (concat "javac " ;; Sun Java compiler command
> (cond (buffer-file-name
> (file-name-nondirectory
> buffer-file-name))
> ((buffer-name)))))))
>
> ;; jde from Arnaud ~sahuguet:
> ;;
> ;(autoload 'java-mode "/home2/sahuguet/java-mode/java-mode.el"
> ;"java mode" t nil)
>
>
> ;; Lesha sets path straight first; when I recompile all, elc will contain
> ;; all of these and adding java-mode to load-path below can be
> encommented.
>
> (setq load-path (cons (expand-file-name "c:/jde-2.2.6/lisp") load-path))
>
> (autoload ' jde-mode "jde.el" "java mode" t nil)
> (autoload ' java-mode "jde.el" "java mode" t nil)
> ;; Do I need to load the rest or they can be autoloaded:
> ;; Lesha may disable an/or put java-mode in
> ;; hilit-mode-enable-list:
> ; (load "hilit-java.el")
> ; (load "java-f-lck.el")
> ; (load "imenu.el")
> ; (load "jde-db.el")
> ; (load "jde-run.el")
>
>
> ;(set-default 'auto-mode-alist
> ; (append '(
> ; (" \\.java <file://\\.java>" . java-mode) ; "
> \\.java\\' <file://\\.java\\'>"
> ; (" \\.jj <file://\\.jj>" . java-mode)
> ; (" \\.jjt <file://\\.jjt>" . java-mode)
> ; )
> ; (delete '(" \\.pl\\' <file://\\.pl\\'>" . prolog-mode)
> auto-mode-alist)))
> ;
> ;; The above from Arnaud doesn't seem to work,
> ;; so Lesha sticks with good old setq, and do jde-mode:
>
> (setq auto-mode-alist (cons
> '(" \\.java\\' <file://\\.java\\'>" . jde-mode) auto-mode-alist))
>
> ; Can make "C-cC-c" compile, and "C-cC-b" run the program.
> ; To run, must give a class name. The ".java" suffix can
> ; be cut off as follows:
>
> ; (setq name "chavo.java")
> ; (string-match " \\(.*\\)\\.java <file://\\(.*\\)\\.java>" name)
> ; (setq name-base (substring name (match-beginning 1) (match-end 1)))
>
>
> ; JDE customization
> ; enable the javac -g debugging switch
> (custom-set-variables
> '(jde-compile-option-debug (quote ("all" (t nil nil)))))
> (custom-set-faces)
>
> ; end of emacs config
>
>
> Thanks,
>
> Kevin
>