File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes How to Access Windows Registry??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to Access Windows Registry???" Watch "How to Access Windows Registry???" New topic

How to Access Windows Registry???

Tejas Tambe
Ranch Hand

Joined: Oct 08, 2001
Posts: 47
Is it possible to access the windows registry using Java.
Actually, I want to find out the list of packages installed on any machine on the network.
Can anybody guide me ???
Thanx in advance !!!
Altaf Ahmad

Joined: Apr 24, 2002
Posts: 13
I believe you'll be able to access registry values that were written by Java programs relatively easily. I read that to access the entire registry, you'll need to interface with an external C/C++ program which will have to read and provide it to you.
I believe this is because the windows registry is an operating system specific feature, and Java on its own won't let you do much that ties down code to specific operating systems.
Steve Deadsea
Ranch Hand

Joined: Dec 03, 2001
Posts: 125
There are libraries that will allow this:
I agree. Here's the link:
subject: How to Access Windows Registry???
It's not a secret anymore!