File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Applets and the fly likes Reading from process table. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Reading from process table." Watch "Reading from process table." New topic

Reading from process table.

Bala Mohan

Joined: Jul 05, 2002
Posts: 27
Is it possible to read entries from a process table of the destop on which my applet is running? If so, can I find all the files opened by a process?
- OR -
For a given file, is it possible to check of any process on the desktop has this file open?
Thanks in advance.
Rob Ross

Joined: Jan 07, 2002
Posts: 2205
Not through Java. You'll have to use JNI and a low-level API for the platform you're running on.

SCJP 1.4
I agree. Here's the link:
subject: Reading from process table.
It's not a secret anymore!