Eclipse's English name is a Japanese eclipse and has always liked the name.
1. Installation is simple, download the eclipse package directly, free of installation. Unzip and locate its execution file.
Click this icon to open Eclipse, and of course you can add a shortcut to the desktop to open it later.
2. It's like this when it's open.
3. Fork out the Welcome page, which is the layout page below.
4. Create a new project, and you can see that eclipse automatically gets the JRE installed in the system (the Java Program Runtime Environment, which is the JRE that was installed by the time we installed the JDK in the previous section)
5. Write a HelloWorld class and run it as follows.
This is a simple console program and you can see that the IDE does a lot of things for us, including finding the path to the JRE, compiling the program and running the program, and so on.
5. If you want to run a Web program, you need to add a Web container to eclipse, which you can do as follows.
This will cause the Server toolbar to appear in the menu bar below, but since Eclipse does not have a related Web server at this time, the following screen appears.
Click the prompt, you can go to the hard drive to search the Web server, here we choose Tomcat.
Select Tomcat8 to complete the configuration, and then you can write the Web program. This is the case when the configuration is complete.
6. You can set the text encoding format, the suggestions are set to UTF-8.
Installation and configuration of Eclipse