How IntelliJ IDEA creates a java project
listen to voice
- original
- |
- Browse: 195687
- |
- renew:
Sometimes when we use IntelliJ IDEA, we want to create a java project, how to create it, let's share the method below
Tools/Materials
-
I understand the idea
-
create java project
method/step
-
The first step is to open the idea on the computer, click File->New->Project, as shown in the figure below:
-
Step 2 After entering the New Project interface, on the right side of java, you first need to select the JDK installation path and click New, as shown in the following figure:
-
Step 3 After selecting the JDK installation path, create a simple java project. You don’t need to check the framework, just click Next, as shown in the following figure:
-
The fourth step is to enter whether to select the template interface, do not need to check, click Next, as shown in the following figure:
-
The fifth step is to enter the java project name and project storage path to be created, and click Finish to complete, as shown in the following figure:
-
Step 6 After successfully creating a java project, there are two directories of idea and src under the project. We mainly operate in the src directory, create a new package in the src directory, and then create a new Test class, run the main method, and output Hello, representing The java project runs successfully, as shown in the figure below:
END
Precautions
-
If you think this article is useful to you, please vote