Oracle Database Appliance (ODA) (MOSC)

MOSC Banner

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

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center