The learning materials come from the industry's predecessor: Davieyang.DY, for personal learning only, intrusion and deletion.
Download the official IDEA Community Community Community Edition can be.
Start IDEA, create a new project,
select the project type and SDK
Select Java==》JDK11, which is the version you just installed,
template creation page, no need to select first
Select the template creation interface as follows, don’t make a choice, just NEXT:
name the project and select the project path. The
Java project is created successfully
This is one of the most common Java projects, which can be used for usual code training. src is where we write Java code:
create a new package file under src and name it demo
Create a new Java Class file named DemoTest
in the demo folder and write the code in the newly created DemoTest file:
public class DemoTest{
public static void main(String[] args){
System.out.println("Configuration Training");
}
}
Next we run the code
You can select the file and right-click and choose Run:
You can also use the Ctrl+Shift+F10 shortcut key to run the file.
Configure execution variables
When you click Run, the following window will pop up, select Edit:
Create a new Run/Debug configuration
Click the "+" sign in the upper left corner to add the Application item:
then configure the Java program entry
Configure the location of the main function
At this point, the Java integrated development environment is set up, let's right-click to create a GTA6 project, haha (if you can't play GTA6, you are responsible for buying GTA5 in 2021).