The rapid development of Java in the EditPlus environment, the simple EditPlus Java environment to build a tutorial, the installation of JDK and set the environment variable process for novice practice.
Configuring the Java Editing environment with EditPlus
First: Understanding Group
1. Open EditPlus, select "Tool-> Parameter Selection" To select "User Tool" in the pop-up window
2. Dot group name, the "group 1" into Java (of course not change also can).
Group refers to the tool group, which can be toggled between tool groups with a quick key.
The fast key of the program in the group is CTRL1,CTRL2 by default ... (You can move changes up and down)
First, configure the Java compilation environment
1. Point "Add tool-> Application".
2. Menu Text: "Java compilation"--Here is the menu text displayed on the EditPlus
3. Command: Javac (assuming that you have set up Java related environment variables)--You can also specify Javac.exe (Jdk/bin/javac.exe) directly
4. Parameters: Drop-down Menu "FileName"--The file name of the file generated at compile time, where the file name of the file currently being compiled is filename
5. Initial directory: Select "File directory" from the dropdown menu; --the location where the generated files are compiled (in the current directory for the path)
6. Tick before "capture output". --Print out compilation in Output window (error or other)
This completes the configuration of "Java compilation"
Ii. EditPlus Configure Java user tools
1, click the menu bar "Tools" to select "Configure User Tools."
2, click on the left "Add Tool" button, select "Program" option.
3, first configure the "compile" function, as shown in the picture above, the menu text is compiled, the command for the Javac.exe path, check "capture output."
4, then configure the "Run" function, as shown in the picture above, the menu text is run, the command for the Java.exe path, check "capture output."
After the successful configuration, you can test by HelloWorld program, Ctrl+1 for the compilation, ctrl+2 for the run.
Three, write a small program test:
Try a small program.
We can point to "tools"->javac compiled, and then click "Tools"->java run to see.
You can also use shortcut key ctrl+1,ctrl+2 to implement compilation and operation.
Four, configure shortcut keys
4.1 Set Ide_java shortcut keys
In the parameter Settings-> Tool-> Keyboard-> Tool-> modify Toolgroup1 shortcut keys (if you do not configure other user tools, the default toolgroup1 is the Ide_java we have just set)
4.2 To set comp and run shortcut keys
In the parameter Settings-> Tool-> Keyboard-> Tool-> modify Tooluser1 shortcut key (if you do not configure other user tools, the default tooluser1 is what we have just set (comp), also modify TOOLUSR2 (run) The shortcut key