1. First start idea, and then click Create New Project
as shown in the figure:
2. Select Java in the upper left corner, and the JDK version will be displayed behind the Project SDK. If you install a higher version of JDK, it is recommended to change to version 1.8, and finally click Next
3. Click Next directly on the new page.
4. Fill in the project name in the Project name, for example: JSD2102
Project location shows the local storage path (workspace) of the current project
and then click Finish
5. Click Finish and it will be A new project is created. After the project is expanded, src will be displayed. Right-click the crc and select new-Package
. 6. At this time, a box will pop up. Give the Java package a name in the box, for example: demo, and then press Enter
7 .At this time, there will be an additional Java package called demo under src, then continue to right-click the demo, select new-Java Class,
8. In the pop-up box, give a class name, for example: HelloWorld, and then press Enter
9. At this time, A Java project is created
Idea how to create a normal Java project
Guess you like
Origin blog.csdn.net/weixin_48233516/article/details/114207505
Recommended
Ranking