Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
Java Desktop Applications
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Oct 19, 2011 12:11 PM by
Application is terminated when log off from the server
Aug 3, 2011 1:01 AM
I run my application on windows on server like this:
"C:\Program Files\Java\jre6\bin\javaw.exe" -jar C:\myJarFile.jar
When I log off from the server the application is terminated (so only if I'm logged in the application will run).
How can I insure my application will always run regardless who is logged in to server?
Edited by: user10511764 on Aug 2, 2011 5:14 AM
Edited by: user10511764 on Aug 2, 2011 11:01 PM
This content has been marked as final.
Show 1 reply
Re: Application is terminated when log off from the server
Oct 19, 2011 12:11 PM
in response to
You can create a service to start the application, thus, the java app is always running even if no user is logged
use the Java Service Wrapper (google search)
You can also use the sc.exe to create the service
don't forget to check in window services if autostartup once created