• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using Java, how to detect if an App is running

 
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am looking for ways to do the following preferably in Java:

Some programs (e.g. anti virus, etc) pose problems during windows startup, so these have to be excluded from startup and executed only when the startup process is completed. This problem exists probably due to incompatibilities with the OS, hardware etc.. among other factors... other SW/HW changes being considered...
But meanwhile, I am thinking of creating an executable jar file (icon) for these that implements the pseudo code above.
Thanks for any comments on how to do it in Java.
[ May 27, 2003: Message edited by: boyet silverio ]
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can always identify the process that are running from the process table. You can issue java based shell calls (Runtime.exec(...))on OS specific commands to identify these processes.
 
boyet silverio
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks, thats the place to start.
 
reply
    Bookmark Topic Watch Topic
  • New Topic