Use jde to edit Java

Source: Internet
Author: User

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 ).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.