0
我最近決定嘗試用於java開發的emacs,所以這是我第一次使用emacs。我在emacs啓動時沒有收到任何錯誤,但我不認爲jde安裝正確,因爲在查看java文件時沒有看到「jde」菜單項。關於如何進一步排除故障的任何建議?在雪豹碳Emacs中安裝jdee問題
我下載並提取CEDET,JDE和ELIB成以下目錄結構:
~/.emacs.d/site/cedet/latest
~/.emacs.d/site/jde/latest
~/.emacs.d/stie/elib/latest
在每種情況下 '最新的' 是符號鏈接到一個版本目錄,例如:
cd ~/.emacs.d/site/cedet
ls -al
[email protected] 17 dparoulek staff 578 Dec 4 12:17 cedet-1.0pre6
lrwxr-xr-x 1 dparoulek staff 14 Dec 4 21:41 latest -> cedet-1.0pre6/
這是我的.emacs文件:
; JDE - Java Development Environment
;; Set the debug option to enable a backtrace when a
;; problem occurs.
(setq debug-on-error t)
;; Update the Emacs load-path to include the path to
;; the JDE and its require packages. This code assumes
;; that you have installed the packages in the emacs/site
;; subdirectory of your home directory.
(add-to-list 'load-path (expand-file-name "~/.emacs.d/site/jde/latest/lisp"))
(add-to-list 'load-path (expand-file-name "~/.emacs.d/site/cedet/latest/common"))
(load-file (expand-file-name "~/.emacs.d/site/cedet/latest/common/cedet.el"))
(add-to-list 'load-path (expand-file-name "~/.emacs.d/site/elib/latest"))
(require 'jde)