+ Post New Thread
Results 1 to 2 of 2
Coding Thread, Java And Task Manager in Coding and Web Development; Does anyone know what the Java code would be to check taskmanager to see if an application is open and ...
  1. #1
    My220x's Avatar
    Join Date
    Feb 2008
    Location
    UK
    Posts
    257
    Thank Post
    9
    Thanked 3 Times in 3 Posts
    Blog Entries
    8
    Rep Power
    13

    Java And Task Manager

    Does anyone know what the Java code would be to check taskmanager to see if an application is open and if not start it? I have Googled but could not find anything.

  2. #2

    rob_f's Avatar
    Join Date
    May 2008
    Location
    Leeds
    Posts
    220
    Thank Post
    15
    Thanked 73 Times in 56 Posts
    Rep Power
    25
    The proper way to do it would be to use JNI to interface with Windows Management Instrumentation (WMI).

    List currently running processes (Windows) - Real's Java How-to offers a way by capturing the stdout of tasklist.exe, a command-line variant of taskmgr.

    hth

SHARE:
+ Post New Thread

Similar Threads

  1. Task management?
    By ClaireL in forum Windows
    Replies: 4
    Last Post: 19th May 2008, 02:38 PM
  2. Deploy a scheduled task!
    By Ste_Harve in forum How do you do....it?
    Replies: 2
    Last Post: 14th September 2007, 02:04 PM
  3. got some places one task it course
    By russdev in forum General EduGeek News/Announcements
    Replies: 7
    Last Post: 24th March 2006, 09:19 AM
  4. Task timeframes.
    By Jake in forum How do you do....it?
    Replies: 8
    Last Post: 6th January 2006, 12:16 PM
  5. Replies: 9
    Last Post: 8th November 2005, 09:45 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •