Results 1 to 4 of 4
  1. #1
    gayathri_g is offline Member
    Join Date
    Aug 2009
    Rep Power

    Default getting running application from task manager

    Hai everyone,

    i need some idea regarding how to get the information about the application running in a system from task manager in java.Can anyone say me the methodology,like is there any API to do it.Please help me.Thanks.

  2. #2
    Steve11235's Avatar
    Steve11235 is offline Senior Member
    Join Date
    Dec 2008
    Rep Power


    You need a toolkit that uses native code to access the OS. I found this link, but I haven't tried it, so it might melt your processor. It has Javadoc, so it apparently has Java support. It can access many types of OS.

    For tagging: Java retrieve Windows OS information

  3. #3
    lipun4u is offline Member
    Join Date
    Jul 2009
    Rep Power


    thanx buddy....I don't if it helped the thread starter or not, but it helped me a lot !!!!

  4. #4
    deschutron is offline Member
    Join Date
    Sep 2009
    Rep Power


    If you know of an API to do it in C, you can call that API from Java if you use JNI (Java Native Interface).

    JNI lets you write methods for Java in C. You could write some C functions that call the functions you need from the existing API, and return the result to the Java code.

    Some JNI info:
    (the forum doesn't let me post links so I give you Google search terms. For each one, click on the first result from Google.)
    A simple example of JNI:
    google "Trivial JNI example"
    The JNI specification:
    google "Java Native Interface Specification"


Similar Threads

  1. Replies: 0
    Last Post: 04-12-2009, 05:16 PM
  2. swt application running
    By wolve634 in forum SWT / JFace
    Replies: 3
    Last Post: 10-28-2008, 03:14 PM
  3. java : how to hide application icon from a task bar
    By yogeshagashe in forum Advanced Java
    Replies: 0
    Last Post: 03-12-2008, 02:05 PM
  4. Running a application in java
    By barney in forum Java Applets
    Replies: 1
    Last Post: 08-07-2007, 08:12 AM
  5. Running application in back
    By fernando in forum Advanced Java
    Replies: 1
    Last Post: 08-01-2007, 01:25 AM

Posting Permissions

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