Hi

I have tried to install JDE-2.2.7.1 on Win32 (that is W2K). I have GNU Emacs 
20.7.1 installed.

I followed the installation instructions on jde.sunsite.dk and the 
packagages I have installed are:

eieio-0.16
elib-1.0
semantic-1.3.3
speedbar-0.13a
and of course jde-2.2.7.1

But I get the following error when I start my emacs:

---------------
Signaling: (file-error "Cannot open load file" "semantic-load")
  require(semantic-load)
  eval-buffer(#<buffer  *load*<2>> nil "jde")
  load-with-code-conversion("e:/develop/emacs-lisp/jde-2.2.7.1/lisp/jde.el" 
"jde" nil t)
  require(jde)
  (if defer-loading-jde (progn (autoload ... "jde" "JDE mode." t) (setq 
auto-mode-alist ...)) (require (quote jde)))
  eval-buffer(#<buffer  *load*> nil "site-start")
  load-with-code-conversion("e:/develop/emacs/lisp/site-start.el" "site-
start" t t)
  load("site-start" t t)
  command-line()
  normal-top-level()
----------------

My site-start.el looks like this:

----------------
;; Set the debug option to enable a backtrace when a
;; problem occurs.
(setq debug-on-error t)

(cd "e:/")
(set-language-environment "Latin-1")
(standard-display-european t)
(add-to-list 'load-path "/develop/emacs-lisp")

;; Turn on font-lock in all modes that support it
;;Font Lock
(global-font-lock-mode t)
(setq font-lock-support-mode 'lazy-lock-mode)
(setq lazy-lock-defer-time 2)
(setq lazy-lock-defer-contextually t)
(setq lazy-lock-stealth-time 5)

; �replacing_in_strings�  (to ".replacing_in_strings")
; From a posting by [EMAIL PROTECTED] at the
; [EMAIL PROTECTED] list, 2000oct06:
(defun dos2unix ()
 "Convert a buffer from MS-DOS ^M end of lines to UNIX end of lines."
  (interactive)
    (goto-char (point-min))
      (while (search-forward "\r" nil t) (replace-match "")))
(defun unix2dos ()
  "Convert a buffer from UNIX end of lines to MS-DOS ^M end of lines."
  (interactive)
    (goto-char (point-min))
      (while (search-forward "\n" nil t) (replace-match "\r\n")))

;; CPerl mode (http://www.cpan.org/modules/by-module/Softref/ILYAZ/cperl-
mode/)
(autoload 'perl-mode "cperl-mode" "alternate mode for editing Perl 
programs" t)
(setq cperl-hairy t)
(setq cperl-indent-level 4)
(setq auto-mode-alist
      (append '(("\\.\\([pP][Llm]\\|al\\)$" . perl-mode))  auto-mode-alist 
))
(add-hook 'perl-mode-hook
          '(lambda ()
             (define-key perl-mode-map
               "\C-l"
               'font-lock-fontify-buffer)
             ))

;; Semantic - for JDE
(add-to-list 'load-path "/develop/emacs-lisp/semantic-1.3.3") ; so Emacs can 
find semantic
(require 'semantic-c) ; for C code integration
(require 'semantic-el) ; for Emacs Lisp code integration
(require 'semantic-make) ; for Makefile integration
(require 'semantic-imenu) ; if you use imenu or wich-function
(add-hook 'speedbar-load-hook (lambda () (require 'semantic-sb))) ; for 
speedbar integration
(autoload 'semantic-bnf-mode "semantic-bnf" "Mode for Bovine Normal Form." 
t)
(add-to-list 'auto-mode-alist '("\\.bnf$" . semantic-bnf-mode)) ; for 
editing .bnf parser files.
(autoload 'semantic-minor-mode "semantic-mode" "Mode managing semantic 
parsing." t) ; for semantic-minor-mode

;; Emacs Lisp library - for JDE
(add-to-list 'load-path "/develop/emacs-lisp/elib-1.0")

;; Speedbar - for JDE
(add-to-list 'load-path "/develop/emacs-lisp/speedbar-0.13a")

;;EIEIO - CLOS for emacs - for JDE 
(http://cedet.sourceforge.net/eieio.shtml)
(add-to-list 'load-path "/develop/emacs-lisp/eieio-0.16")

;; JDE (http://jde.sunsite.dk)
(add-to-list 'load-path "/develop/emacs-lisp/jde-2.2.7.1/lisp")
;; If you want Emacs to defer loading the JDE until you open a 
;; Java file, edit the following line
(setq defer-loading-jde nil)
;; to read:
;;
;;  (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))
;; Sets the basic indentation for Java source files
;; to two spaces.
(defun my-jde-mode-hook ()
  (setq c-basic-offset 2))
(add-hook 'jde-mode-hook 'my-jde-mode-hook)

(column-number-mode t)
(show-paren-mode 1)
----------------

Can anybody help me with a hit or a solution?

Thanks in advance!

/Jesper

Reply via email to