How does java code run in eclipse?
1. First we double-click eclipse
2. Specify the workspace, the default one is just fine, then [Launch]
3. Create a java project: you can directly click Create a java project on the left, or [File]-[New]-[Java Project]
4. Type the project name, type Test, and then [Finish]
5. Select [No]
6. Then click [Test], under [src] [New], create a package [Package]
7. Give Package Name, and then [Finish]
8. Right-click [New]-[Class] under the package name [heshaohai]
9. The name usually starts with a capital letter, type the class name [Abc]
10. Generate the [class name.java] file, Such as [Abc.java]
11. Type the following sample code
12. Finally run [Run], the console will output the code running results: I Like Java
13. In this way we completed the java code in the eclipse software, The error message will be displayed in red and can be checked and debugged at any time on the same interface. It is an essential software for java developers. If there are no steps, leave a message below.