Herman Timmermans wrote:
Sorry, after re-reading your question, I think I got it wrong. Sorry,
English is not my first language.
I think you want to know whether a process is running or not?
You are not interested in identifying the OS are you?
Sorry -
brgds,
Herman
*********************************************
Johnson Bruno wrote:
Hi,
I need to know whether a process is running or not on Windows 2000
from a java program.Please guide me.
Thanks and regards
Bruno
************************************************** *********************
java.lang.System class is your friend.
using getProperties() returns you the entire properties list.
You want to look for os.name, os.arch and os.version properties to
identify whether you are running on Windows 2000.
Brgds,
Herman
--
Suse Linux Professional 8.1 on Athlon 1.1 Ghz 512 Mb
Anti Spam = remove the "dot" and the "at"
Registered Linux User #264690