Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to deploy a JAVA project with JAR packages on LINUX

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)05/31 Report--

This article is a detailed introduction to "how to deploy JAVA projects with JAR packages on LINUX". The content is detailed, the steps are clear, and the details are properly handled. I hope this article "how to deploy JAVA projects with JAR packages on LINUX" can help you solve your doubts. The following is followed by a small series of ideas to slowly deepen and learn new knowledge together.

Deploying java projects with jar packages on linux

First of all, eclipse needs to install a small plug-in called fat jar.

Click fat jar

Select the main category in the red box and click next

Check the box as shown in the picture

Find the jar package under this path

Put jar package under linux server through ftp protocol

Enter the jar package path

Enter command java -jar xxx.jar

Run successfully!

Attention!!!!!!!!!

When you disconnect the server, the project stops!

So use the following command

Command: nohup java -jar xxx.jar

Pass command ps -ef| grep java can view progress

Read here, this article "how to deploy JAVA projects with JAR package on LINUX" article has been introduced, want to master the knowledge points of this article also need to be used by yourself to understand, if you want to know more about the relevant content of the article, welcome to pay attention to 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.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report