Finding PID of a process that acessing a determinated file

Hi,I need to know how I get the PID of all process that acessing a determinated file (the same of command fuser in Linux) in java. I need this PID to kill the process automatically on Windows.Thank you very much.
[233 byte] By [Allangsta] at [2007-11-27 2:52:56]
# 1

> Hi,

> I need to know how I get the PID of all process that

> acessing a determinated file (the same of command

> fuser in Linux) in java. I need this PID to kill the

> process automatically on Windows.

> Thank you very much.

You can't do that in pure Java.

Kaj

kajbja at 2007-7-12 3:27:24 > top of Java-index,Java Essentials,Java Programming...
# 2
Rigth,Do you have any idea that I can do this with JNI?Thank you
Allangsta at 2007-7-12 3:27:24 > top of Java-index,Java Essentials,Java Programming...