EditPlus how to compile and run java

Text origin:

    Recently I have been learning java from scratch, and I have been using eclipse and Intellij IDEA before. Starting from scratch, it is natural to give up those advanced tools and choose the most basic to practice. After proficient in writing, compiling, and running java files using Notepad and dos commands, I started to use a slightly more advanced tool—editplus. The so-called sharpener does not cut the woodworker by mistake. We have to find the convenience of using this tool! ! Let me introduce a few today ~~~

How to write a .java template

    Open editplus and follow steps 123 below!
1. Click to select "Tools". Click "Configure User Tools".
step 1
2. Select "Templates" under "File", on the right you can choose the type of template, you can choose other types such as HTML.
Step 2
3. Here we choose Java, and create a template.java file, write the template you want.
Step 3

How to implement compile and run java

    You can start a dos window to compile and run after writing a java program, so that would not be too troublesome! ! Every time you have to enter the directory where the java file is located, and you are already familiar with it. It is nothing more than javac Xx.java java Xx, there is no need to waste that time.

SO Learn the steps below. .

1. Click to select "Tools". Click "Configure User Tools". In the pop-up window, select "User tools" under "Tools", modify Group1 to compile and run (not required)
step 1
2. Select "Program" under "Add Tools"
Step 2
3. Start editing this new Program, fill in as shown in the figure That ’s all, but it ’s important to note that when choosing Argument, compile to choose FileName, which includes the file extension. —-Corresponding to the
Step 3.1
operation of javac Template.java, you need to select “File Name Without Extension”, that is, the extension of the file is not needed. —Corresponds to java Template
Step 3.2

effect:

The shortcut key for compiling java is Ctrl + 1. When
Results 1
running the shortcut key for java, Ctrl + 2
Results 2
closes the shortcut window for compiling and running is Alt + Shift + 2.

Do n’t know the little friends, try it ~~ Finally, I wish everyone a smooth programming! ! !

Published 10 original articles · Like 16 · Visitors 10,000+

Guess you like

Origin blog.csdn.net/xl132598798/article/details/60779240