After the development environment is set up, an integrated development environment, also known as the IDE, is required for programming. The IDE recommended here is idea, and the old eclipse should be put aside, (manually funny).
Idea's: http://www.jetbrains.com/idea/
When downloading, can choose Ultimate version, also can choose community version, suggest choose Ultimate Version, download good later install, Activation Code address: http://idea.lanyus.com/before use, please "0.0.0.0 Account.jetbrains.com "added to the Hosts file, and then enter the activation code to activate it successfully.
After installation, all of them are installed by the default option.
Then start creating the first project, HelloWorld
Once created, right-click the SRC folder, add the package, and add the HelloWorld class to the package
Then put the code in the file:
Package HelloWorld; Import Java.lang.System; Public class HelloWorld { publicstaticvoid main (string[] args) { System.out.println ("Hello world!" ); }}
Tap Run, run the program, select HelloWorld, and the code runs.
At this point, the IDE Setup is complete and our first project is completed.
Java 0 Basic Starter Series Day2 Java integrated development environment idea