emacs,GNU Emacs 或XEmacs 19 版以上,软硬件平台不限。 确认安装了jde需要的一些emacs-lisp包(package),有speedbar(类浏览器),semantic(语法分析),eieio(OO lisp),elib(Emacs lisp Utilities),另外,有些功能需要beanshell(什么是beanshell?www.beanshell.org) ,在XEmacs下运行需要安装FSF-compat包 将jde包解开到某目录,修改你的.emacs配置文件增加以下一些内容: ; 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. ;; 加载所需的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 ;; 不自动加载jde-mode (setq defer-loading-jde t) ;; to read: ;; ;; (setq defer-loading-jde t) ;; ;; 编辑.java文件时加载jde (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))