+ 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
    Blog Entries
    8
    Thank Post
    9
    Thanked 3 Times in 3 Posts
    Rep Power
    9

    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. IDG Tech News

  3. #2

    rob_f's Avatar
    Join Date
    May 2008
    Location
    Leeds
    Posts
    188
    Thank Post
    14
    Thanked 58 Times in 43 Posts
    Rep Power
    18
    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, 10:19 AM
  4. Task timeframes.
    By Jake in forum How do you do....it?
    Replies: 8
    Last Post: 6th January 2006, 01:16 PM
  5. Replies: 9
    Last Post: 8th November 2005, 10: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
  •