Editplus is a lot ProgramEditing tools that are very familiar to users are widely used with the advantages of low system resources, easy and flexible operations, rich file types (and custom file types.
In fact, editplus not only has the function of editing a program, but also has the flexible compilation function. Next we will briefly introduce the compilation settings of editplus for Java.
Java Compilation
Before configuring editplus, We need to install and debug the Java Runtime Environment. I will not describe it here.
First, go to "Tools" and "Configure user tools.
Expand the "Tools" tree menu in the category; "user tools", select "group 1" in "group and Tool project", and click "group name" on the right of the panel... "button to change the text group1 to" compile Java program ".
Then, select the modified Group "compile Java program", click "Add new tool", select a program, create a new program, and select it.
Next is the most important step (modifying attributes ):
1.1 add compilation function
Change the content in "menu text" to "javac ";
"Command": select the Compiling Program javac in the bin directory after JDK installation. EXE. If the JDK installation path is "C:" JDK ", the path is" C: "JDK" bin "javac.exe ";
Select "file name" for "parameter", that is, "$ (filename )";
Select "file directory" as "$ (filedir)" for "Initial directory" and select the "Capture output" check box.
1.2 add execution function
Change the content in "menu text" to "Java ";
"Command": select the compiled program java. EXE in the bin directory after JDK installation, and the path is "C:" JDK "bin" java.exe ";
Select "File Name (not including the extension)" for "parameter", that is, "$ (filenamenoext )";
Select "file directory" as "$ (filedir)" for "Initial directory" and select the "Capture output" check box.
In this way, the basic configuration is completed. Next we will try to write a Java program to test it. All compiled information will be displayed in the output window, and double-click an error message, editplus will automatically locate the error line
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.