Install and use eclipse
After downloading and installing eclipse--> Double-click eclipse-->Set the automatically saved workspace![1533866668522913.png JAVA entry system tutorial (2) Installing and using eclipse](https://img.php.cn//upload/image/195/744/166/1533866668522913.png)
After completion, we will enter eclipse![1533866695471719.png JAVA entry system tutorial (2) Installing and using eclipse](https://img.php.cn//upload/image/248/925/403/1533866695471719.png)
##Click File --> new --> others --> Java Projeck
![1533866710723426.png JAVA entry system tutorial (2) Installing and using eclipse](https://img.php.cn//upload/image/304/170/278/1533866710723426.png)
Set the project name after next
![1533866728643626.png JAVA entry system tutorial (2) Installing and using eclipse](https://img.php.cn//upload/image/383/628/387/1533866728643626.png)
(Because I have created it before, the prompt here already exists)
Next we Let's complete the programming of Hello World through eclipse again
Right-click new under src --> others --> Package to create a package and set the name (usually the company domain name is written in reverse)
![1533866762224663.png JAVA entry system tutorial (2) Installing and using eclipse](https://img.php.cn//upload/image/709/905/658/1533866762224663.png)
After completion, create a class under this package
Right click under the package--> new --> others --> class --> ; Enter the name
(The first letter of a single word is capitalized, the first letter of each word of multiple words is capitalized and there can be no spaces or symbols
)
After entering, we can start writing our HelloWorld
![1533866796494543.png JAVA entry system tutorial (2) Installing and using eclipse](https://img.php.cn//upload/image/902/684/949/1533866796494543.png)
There will be no errors or warnings~ The next moment to witness the miracle~
We can run the program through F11 or
under the menu bar and right-click --> Run As --> Java Application
![1533866816546182.png JAVA entry system tutorial (2) Installing and using eclipse](https://img.php.cn//upload/image/956/466/599/1533866816546182.png)
The operation is successful. Congratulations, you have entered the door of java development!
High-energy warning: A lot of important and boring grammar is coming~
#END
#Related articles:
JAVA entry system tutorial (1) Configuring JAVA development environment
###JAVA entry system tutorial (3) Basic syntax (1) )######
The above is the detailed content of JAVA entry system tutorial (2) Installing and using eclipse. For more information, please follow other related articles on the PHP Chinese website!