I am going back to Java programming recently, so I plan to configure JDEE on the latest version of Emacs 24.3. I have heard that there will be some problems. I hereby record the installation process.
Emacs 24.3 built-in CEDET, version is 2.0, This is a confusing thing, because the official site point http://cedet.sourceforge.net/has not released a new version for a few years, the current version is 1.1
My JDK and Maven have been installed:
Mvn -- version
Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 23:22:22 + 0800)
Maven home:/usr/apache-maven-3.1.1
Java version: 1.7.0 _ 51, vendor: Oracle Corporation
Java home:/usr/lib/jvm/java-7-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.11.0-15-generic", arch: "amd64", family: "unix"
Download jdeelatest release file, jdee-bin-2.4.1.tar.bz2
Http://sourceforge.net/projects/jdee/files/
Decompress ~ /. Emacs. d directory
~ /. Emacs. d/jdee-2.4.1
Add two rows in ~ /. Emacs. d/init. el
; Jdee
(Add-to-list 'Load-path "~ /. Emacs. d/jdee-2.4.1/lisp ")
(Load "jde ")
Then restart Emacs. You can use it. It is not like the legendary problems, and the dependency is no longer needed.
The following is a screenshot of the smart prompt:
Some useful information can be found in the previous article. For more information, see:
Install Emacs Java
Use of Emacs for Java Development
Use Maven to generate a JDEE project file