JDK must be installed before jde can work normally. Therefore, you must download and install JDK first.
Download jde and elib, decompress it to site-lisp, and load jde in Emacs. Next, set the JDK path for jde: M-X.
Customize-variable <RET>
Jde-JDK-registry <RET>: Enter the path and version of the installed JDK. If multiple JDK is installed on the machine, set jde-
JDK variable ). After opening the. Java file, it will automatically enter jde-mode.
In jde, you can use c-v c-. to automatically complete Java code. However, it seems that only classes in JDK can be supplemented, and custom classes do not work.
Jde has two convenient extensions:
1. jmaker. El: this extension can automatically generate makefile files for Java projects.
2. decompile. El: If you use Emacs to open the. Class file, this extension will call Jad to decompile the. Class file and display the compiled code (
Eclipse jadclipse ). You must first install jad(in windows, copy jad.exe to Emacs/bin ).