Configuring the Java compilation environment with EditPlus

Source: Internet
Author: User

Beginners are better suited to use text editing software to learn Java, have some knowledge of Java recommended to use eclipse, for those who require the development of efficiency of course, the first choice for programmers is JBuilder.

For text editing software I recommend Editplus,editplus is a very familiar editing tool for many programmers, it is widely used in the advantages of small system resources, simple and flexible operation, rich supporting file types (also can customize file types). EditPlus In addition to the function of editing programs, there are flexible compilation features, the following is a brief introduction to the EditPlus Java compilation settings.

Before configuring EditPlus is to install and debug the Java operating environment first, then enter the EditPlus, from the menu "tools"; "Configure User Tools ..." Enter user tool settings, select "Group 1" in "Groups and Tools Entries", click the "group name ..." button on the right side of the panel, "Modify the text Group1" to "Java compiler", click the "Add Tool" button, select the application,

Then you modify the attributes:

1. Add Compile function

The contents of the menu text are modified to "Javac", and the command selects the compile-time Javac.exe in the bin directory after the JDK is installed, and my JDK installation path is "C:Program filesjdkj2sdk1.4.2_08", then this path is "C: Programfiles/javajdk1.5.0/injavac.exe ";

"Parameters" select "FileName", which is displayed as "$ (filename)";

"Initial directory" select "File directory", display as "$ (filedir)", select the Capture output check box

2. Add Executive function

The content in the menu text is changed to "Java";

"Command" Select the compiler Java.exe in the bin directory after installing the JDK, the path is "C:Program Files/javajdk1.5.0/injava.exe";

"Parameter" select "FileName without extension", which is displayed as "$ (filenamenoext)";

"Initial directory" select "File directory", display as "$ (filedir)"; Do not select the Capture output checkbox! Otherwise, the command console will not pop!

This completes the basic setup of EditPlus, can write a Java program to debug, compile by ctrl+1, use ctrl+2 to run the program, error prompts will be displayed in the Output window, double-click a line of error messages, EditPlus will automatically locate the error line, how? A simple Java IDE interface appears.

To save your Java code from your. java files.

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.