How to run Jar files in the background ?
Hello Guys,
We have jar files that take care of agents running for different environments . This jar files running in putty console as below
java -jar path/example.jar
When I use above command it just runs on console and If I close console My agent is going to be stopped state .
I tried adding & at the end but no luck and tried using nohup java -jar path/example.jar & but no luck and trowing error.
Can Anyone please suggest on running jar files in the background ?
product name : Oracle Instance
Product Version : Oracle Linux 7.9