In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces to you what is the specific method of running jar package in Linux system, the content is very detailed, interested friends can refer to it, hope to be helpful to you.
How to run the jar package in a Linux system?
Optimization method 1:
Java-jar xxx.jar &
& indicates that the background runs and the ssh window is not locked, but when the window is closed, the program still exits.
Optimization method 2:
Nohup java-jar xxx.jar & nohup means to run the command line without hanging up. When the account exits or closes the terminal, the program is still running.
When a job is executed with the nohup command, all output from the job is redirected to a file in nohup.out unless another output file is specified.
Optimization method 3:
Nohup java-jar xxx.jar > / usr/local/temp.txt &
> / usr/local/temp.txt means that all startup log information is recorded in the temp.txt file
What is Linux system Linux is a free-to-use and free-spread UNIX-like operating system, is a POSIX-based multi-user, multi-task, multi-threaded and multi-CPU operating system, using Linux can run major Unix tools, applications and network protocols.
On the Linux system to run jar package what is the specific method to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.