Can editplus compile Java? How to Set

Source: Internet
Author: User

Http://www.jb51.net/softs/2276.html editplus

First, install and debug the Java Runtime Environment.
First, go to "Tools"> "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 JavaProgram".
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 )";
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 )";
Select the capture output check box.
This completes the basic configuration.

In addition, crtl + 1 is the compiled shortcut key Ctrl + 2 is the running shortcut key

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.