emacs,GNU Emacs 或XEmacs 19 版以上,軟硬件平臺(tái)不限。 確認(rèn)安裝了jde需要的一些emacs-lisp包(package),有speedbar(類瀏覽器),semantic(語法分析),eieio(OO lisp),elib(Emacs lisp Utilities),另外,有些功能需要beanshell(什么是beanshell?www.beanshell.org) ,在XEmacs下運(yùn)行需要安裝FSF-compat包 將jde包解開到某目錄,修改你的.emacs配置文件增加以下一些內(nèi)容: ; Set the debug option to enable a backtrace when a ;; problem occurs. ;; 當(dāng)有問題出現(xiàn)顯示錯(cuò)誤信息,便于調(diào)試 (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. ;; 加載所需的package (add-to-list ´load-path (eXPand-file-name "~/emacs/semantic-1.3.3")) (add-to-list ´load-path (expand-file-name "~/emacs/speedbar-0.13")) (add-to-list ´load-path (expand-file-name "~/emacs/eieio-0.16")) (add-to-list ´load-path (expand-file-name "~/emacs/jde/lisp")) (add-to-list ´load-path (expand-file-name "~/emacs/elib-1.0")) ;; If you want Emacs to defer loading the JDE until you open a ;; Java file, edit the following line ;; 不自動(dòng)加載jde-mode (setq defer-loading-jde t) ;; to read: ;; ;; (setq defer-loading-jde t) ;; ;; 編輯.java文件時(shí)加載jde (if defer-loading-jde (progn (autoload ´jde-mode "jde" "JDE mode." t) (setq auto-mode-alist (append ´(("http://.java//´" . jde-mode)) auto-mode-alist))) (require ´jde))