I want my Java program to run in the background.
How would you do it?
Thanks!
I want my Java program to run in the background. How would you do
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
That’s not to be decided by the Java program, but by the operating system and the enduser. The enduser has just to configure the operating system so that it get executed during startup or as a scheduled task.
You just have to make sure that your program doesn’t spawn any UI or so.