• Post Reply Bookmark Topic Watch Topic
  • New Topic

java windows applications  RSS feed

 
michael modenese
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are looking single sign on applications then Check the following pages page1 and page2, this might be helpful.
 
michael modenese
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
...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
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!