In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This issue of the content of the editor will bring you about the java program linux release process is how, the article is rich in content and professional analysis and description for you, after reading this article, I hope you can get something.
The java program is actually very simple to release to linux, but the first release has taken a lot of detours, so record it here
There is only one sentence in the process, export the jar package, and then run it, but sometimes you need to rely on a third-party jar package, so there will be a slight difference, the following records the detailed process
A) right-click on the project, click Export, open the Export window, select Runnable JAR file, and click Next, as shown below:
B) Select the import file and the export path, as shown below
C) Note: if a third-party jar package is not introduced, select the first option. Put the generated jar package directly to linux, and run it with the command java to run the jar package. But if you need to introduce a third-party jar package, you can select the third option, as shown below:
In this way, it will be exported along with the introduced third-party jar package, as shown in the following figure:
Then, copy the LogMonitor folder to the server along with Logmonitor.jar (keep the relative path unchanged) and run it with the following command: java-jar Logmonitor.jar > Logmonitor.log 2 > & 1 &.
This is how the java program linux release process shared by the editor is like. If you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.
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.