Java zero foundation entry series – Day2 Java integrated development environment idea
After the development environment is built, you also need an integrated development environment, that is, IDE, to program. The IDE recommended here is idea. The old eclipse should be put aside first.
Download address of idea: http://www.jetbrains.com/idea/
When downloading, you can choose either the ultimate version or the community version. It is recommended to choose the ultimate version and install it after downloading. The activation code address is: http://idea.lanyus.com/ Please add "0.0.0.0 account. JetBrains. Com" to the hosts file before use, and then enter the activation code to activate successfully.
After installation, all are installed according to the default options.
Then start creating the first project, HelloWorld
After creation, right-click the SRC folder, add the package, and then add the HelloWorld class in the package
Then put the code in the file:
package HelloWorld;import java.lang.System;public class HelloWorld {static void main(String[] args){ System.out.println("Hello World!"); } }
Click Run, run the program, select HelloWorld, and the code will run.
So far, the IDE setup is completed and our first project is completed.