How IntelliJ IDEA creates a java project

How IntelliJ IDEA creates a java project
listen to voice

  • original
  • |
  • Browse: 195687
  • |
  • renew:
  • How IntelliJ IDEA creates a java project 1
  • How IntelliJ IDEA creates a java project 2
  • How IntelliJ IDEA creates a java project 3
  • How IntelliJ IDEA creates a java project 4
  • How IntelliJ IDEA creates a java project 5
  • How IntelliJ IDEA creates a java project 6
step by step reading

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

  1. 1

    The first step is to open the idea on the computer, click File->New->Project, as shown in the figure below:

    How IntelliJ IDEA creates a java project
  2. 2

    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:

    How IntelliJ IDEA creates a java project
  3. 3

    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:

    How IntelliJ IDEA creates a java project
  4. 4

    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:

    How IntelliJ IDEA creates a java project
  5. 5

    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:

    How IntelliJ IDEA creates a java project
  6. 6

    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:

    How IntelliJ IDEA creates a java project
    END

Precautions

  • If you think this article is useful to you, please vote
The content of experience is for reference only. If you need to solve specific problems (especially in the fields of law and medicine), it is recommended that you consult professionals in related fields in detail.
Author's statement: The experience in this article is my original creation based on real experience, without permission, please do not reprint.
Expand to read all

Guess you like

Origin blog.csdn.net/qq_41774102/article/details/114262317