I just installed the JDE-2.1.6beta16 release, and it appears that the load
of the JDE package fails in my .emacs file.
(Even when I just re-open my .emacs file for editing!)

The message buffer reads:

(C:\emacs-20.4\bin\emacs.exe C:\.emacs)
Loading cus-face...
Loading cus-face...done
Loading regexp-opt...
Loading regexp-opt...done
Loading backquote...
Loading backquote...done
Loading wid-browse...
Loading wid-browse...done
Error in init file: Symbol's function definition is void: defclass

My .emacs file is as follows:

;; JAW - Derived from suggested minimal setup file.

;; Update the Emacs load-path to include the path to
;; the JDE. This code assumes that you have installed
;; the JDE in the specified subdirectory of your home
;; directory.
(setq load-path
      (nconc
       '(
         "~/emacs-20.4/jde-2.1.6beta16/lisp"
         )
       load-path))

;; Tell Emacs to load the entire JDE package at startup (only once).
(require 'jde)

;; Sets the basic indentation for Java source files
;; to 4 spaces.
(defun my-jde-mode-hook ()
  (setq c-basic-offset 4))

(add-hook 'jde-mode-hook 'my-jde-mode-hook)

;; Include the following only if you want to run
;; bash as your shell.

;; Setup Emacs to run bash as its primary shell.
(setq binary-process-input t)
(setq shell-file-name "bash")
(setq explicit-shell-file-name shell-file-name)
(setenv "SHELL" shell-file-name)
(setq explicit-sh-args '("-login" "-i"))
(setq w32-quote-process-args ?\") ;; Use Cygnus quoting rules.

;; Configure Emacs to use the default browser on your system
;; to display the JDE documentation.
;; (defvar shell-execute-helper "c:/emacs-20.4/bin/shelex.exe")
;; (defun shell-execute-url (url &optional new-window)
;;      "Invoke the shell-execute-helper program to call ShellExecute and
launch
;;      or re-direct a web browser on the specified url."
;;         (interactive "sURL: ")
;;         (call-process shell-execute-helper nil nil nil url))
;; (setq browse-url-browser-function 'shell-execute-url)
(custom-set-faces)
(custom-set-variables
 '(jde-db-debugger (quote ("jdebug" . "Class")))
 '(jde-bug-jpda-directory "c:/jpda"))


------------------------------------------------------------------------
 Joel Wormer           e-mail: [EMAIL PROTECTED],   ph:+1(408)557-6719
 Aviatis Corp.         650 Saratoga Ave.         San Jose, CA 95129, USA
------------------------------------------------------------------------

Reply via email to