How to start the java (.jar) application at boot t

2019-09-21 20:09发布

问题:

I made simple java application which has a submit button on clicking which the application starts executing .I have to deploy it at Ubuntu System.Now Sir ,As per my need i have to start the execution automatically as soon as System boots without clicking any submit button.

I saved my application at Desktop of Ubuntu.

回答1:

Check this link to see how to run a script during Ubuntu startup How to run a script at the start up of Ubuntu?

The script could be a java -jar jarname call. Off course java has to be installed.