How to run a java program in backgroud (unix / Linux)
Written on
March 12, 2009 at 10:12 am by
mkyong
Many times, we use terminal to remote access into our unix server to run java server process or java services. However we cant type anything After we executed java program like following
debian:/QueryTestServer# java QueryTestServerIn addition, the java program will automatically killed after we terminated our remote shell prompt. This is not what we want. Is there any command that can run a java program in Unix background environment?
Yes it is. In order to run a java program in unix background environment, we need to append “&” to the end of our command.
debian:/QueryTestServer# java QueryTestServer &
Done, the java program will executed in Unix background environment until we explicitly kill it.



tnx.. i found 1 of my assignments…
can you help me some times if i have my other assignments?…
Assignment? Try send me an email
Interesting,
Although linux is not so widely used ,
Keep up the good work
Is it? Linux is not widely use in UK? However, this is very common and widely use in open source development environment