Linux start-up script for java application

前端 未结 6 929
醉梦人生
醉梦人生 2021-01-07 11:31

I have Jar file to run in Linux using this command:

java -jar SyslogAgent_01.jar 192.168.2.154 1998 D:/apachelog.log ApacheLog 13

Can anyon

6条回答
  •  别那么骄傲
    2021-01-07 11:50

    you need to create a unix shell script file, that will automate the job for you. Here are the steps to create the script file: http://www.linuxquestions.org/questions/linux-general-1/shell-script-for-jar-utility-769461/

提交回复
热议问题