Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 Badass: Making Users Awesome this week in the Game Development 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
It is sorta covered in the JavaRanch Style Guide.
subject: Reading from process table.