jdee环境安装

  1. yum install emacs

  2. vi ~/.emacs.d/init.el

    (if ( file-exists-p "~/.emacs.d/.emacs") (load "~/.emacs.d/.emacs"))

  3. vi ~/.emacs.d/.emacs

    (add-to-list 'load-path "~/.emacs.d/jdee-2.4.1/lisp")
    (add-to-list 'load-path (expand-file-name "~/.emacs.d/cedet-1.1/common"))
    (add-to-list 'load-path (expand-file-name "~/.emacs.d/elib-1.0"))
    (add-to-list 'load-path (expand-file-name "~/.emacs.d/ecb-2.32"))
    (load-file (expand-file-name "~/.emacs.d/cedet-1.1/common/cedet.el"))
    (semantic-load-enable-code-helpers)
    (load-file (expand-file-name "~/.emacs.d/ecb-2.32/ecb.el"))
    (require 'font-lock)
    (require 'cedet)
    (require 'ecb)
    (require 'ecb-autoloads)
    (require 'jde)
    (setq stack-trace-on-error t)

  4. cedet

    http://sourceforge.net/projects/cedet/?source=dlp

    ecb

    https://github.com/alexott/ecb/downloads

    git clone https://github.com/emacsmirror/ecb.git

    http://ecb.sourceforge.net/ 这里下载的不兼容,

    http://ftp.jaist.ac.jp/pub/sourceforge/e/ec/ecb/ecb/ecb-2.32/ecb-2.32.tar.gz

    elib

    http://down1.chinaunix.net/distfiles/elib-1.0.tar.gz

    jdee

    http://liquidtelecom.dl.sourceforge.net/project/jdee/jdee/2.4.1/jdee-bin-2.4.1.tar.bz2

    javadoc

    http://javadochelp.sourceforge.net/

你可能感兴趣的:(emacs)