How does IntelliJ idea create and run Java programs?

Time:2021-8-27

IntelliJ idea is an integrated development environment of Java language and is recognized as one of the best java development tools. Using this tool can help us develop java programs quickly. Secondly, IntelliJ idea supports not only windows but also Linux, which is very friendly to Linux and makes Linux users love it more. Today, let’s take a look at the tutorial of running Java programs using idea.

Software name:
IntelliJ idea 2020.3 ultimate official Chinese Version (with patch + installation tutorial)
Software size:
664MB
Update time:
2020-12-04Download now

1. Open the software and clickcreate new projectMenu item for

2. The most important thing here isproject sdk, you need to choose the right one,Generally, it is the installation directory of your JDK。 No problem. Click next

3. We don’t have to create java files from templates. Just go to next

4. Chooseproject nameAnd where the project is saved

5. After successful creation, we right-click the SRC folder on the left to select it.new->Java class

6. The class file is named hello. Click OK

7、The default code will pop up after the new class is completed。 We need to add content to it

8. Add the following code content. For printingHello World

9. We click the run button on the menu bar. Or shortcut keysShift+Alt+F10

10. Select the second. The default is also the second

11. The program runs the structure and successfully prints out the string of Hello world

The above are the skills of IntelliJ idea to create and run Java programs. I hope you like it. Please continue to pay attention to developpaer.

Relevant recommendations:

Two techniques for IntelliJ idea to see where methods are called