In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-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.
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.