Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Keeping a Java app running after close window

    Hi, I start a Java application running from SSH, but as soon as I shut the SSH terminal window down, the service dies.
    I'm using Putty to access my server.

    How can I launch an application which doesnt die when I close the terminal window please?


  2. #2
    Aha, I found this...

    nohup java myprogram &

    Nohup will keep the program alive after I exit the SSH window and the ampersand makes the service run in the background.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts