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.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>