aspose file tools
The moose likes Java in General and the fly likes java windows applications Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "java windows applications" Watch "java windows applications" New topic
Author

java windows applications

michael modenese
Greenhorn

Joined: Mar 22, 2006
Posts: 12
hi there. i have the following problem: i need my java application to check whether an other java application is allready running on my machine or not (...and then do a kind of autologin) is this possible ? on windows ? do i need some special dll's ?

thx
Srinivasa Raghavan
Ranch Hand

Joined: Sep 28, 2004
Posts: 1228
If you are looking single sign on applications then Check the following pages page1 and page2, this might be helpful.


Thanks & regards, Srini
MCP, SCJP-1.4, NCFM (Financial Markets), Oracle 9i - SQL ( 1Z0-007 ), ITIL Certified
michael modenese
Greenhorn

Joined: Mar 22, 2006
Posts: 12
...ok single sign on is what i thouth first., but i need to check whether an other java application is running or crashed.... something like a taskmanager monitor....
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42956
    
  73
There might be a Windows equivalent of the Unix command "top" which lists the currently running processes. You could execute that using Runtime.exec and parse its output for the executable you're interested in.
 
jQuery in Action, 2nd edition
 
subject: java windows applications