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 QueryTestServer

In 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.

Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world\'s largest enterprise software company.
Publisher : Oracle Corporation