This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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
Marshal

Joined: Mar 22, 2005
Posts: 41635
    
  55
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.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java windows applications