In the framework of the study of java (first jap) I wrote a simple echo server with the client.
A friend gave access to the server running centos6 (first acquaintance with the nix (?) System).
After installing jre8, I was able to launch .jar for execution.
How to add a file to startup at system startup?
/etc/rc.local
file - aleksandr barakin