This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to Access Windows Registry???" Watch "How to Access Windows Registry???" New topic
Author

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 !!!
Tejas
Altaf Ahmad
Greenhorn

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:
http://www.trustice.com/java/jnireg/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to Access Windows Registry???
 
Similar Threads
Calling a dll file
Reading registry values from remote computer
Accessing Windows Registry using Java
Registry
How to access the windows registry