In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces how eclipse runs the code, which has certain reference value and can be used for reference by friends who need it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.
The way eclipse runs the code: first open eclipes and complete the startup; then create a new project and create a package; then create a java file; and finally write the source code in the source code editor and run it.
The way eclipse runs the code:
1. Find eclipes on the desktop and double-click to open it.
2. During the startup of eclipes, a window will pop up for you to fill in the save directory of the java workspace, where all the source code files you have written will be saved. It is recommended that you do not put the workspace on disk C.
Note: modify the workspace path File-> Switch Workspace
3. After ecplies launches, there will be a welcome page. Never mind, just click on the difference at the top left, cancel it, and then enter the main interface of eclipes.
4. Create a new project: click file-"new -" java-Project in the upper left corner, pop up a small window, fill in the project name and click OK.
5. Create a package: click on the project, open it to find src, right-click new = "package, write down the package name, and click OK.
6. Create a java file: right-click the package, create a java file under the package, and right-click new-"class"
7. Write: write the source code in the source code editor. And save it.
8, run: right-click the java file in the file browser, and then click run as, and the running result will appear in the following command line window.
Thank you for reading this article carefully. I hope it will be helpful for everyone to share how eclipse runs the code. At the same time, I also hope you will support us, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.