• Post Reply Bookmark Topic Watch Topic
  • New Topic

Running java program in background  RSS feed

 
kart siri
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a requirement to run a java program in background.

I have a scenario where another java program runs and lists all the java programs running on a machine.
And if program "A" is not running it starts it in background using javaw; program "A" is part of a jar file.

What are the typical error scenarios that has to be handled in cases like this? And how do i handle clean shutdown of the background program?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!