aspose file tools
The moose likes Java in General and the fly likes Reading Windows Registry Content through Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Reading Windows Registry Content through Java" Watch "Reading Windows Registry Content through Java" New topic

Reading Windows Registry Content through Java

Jithesh Kozhipurath
Ranch Hand

Joined: Aug 27, 2003
Posts: 76
I want to list out all the softwares installed in a machine with all the versions it has. Is there any possibility to read the registry content so that I can retrive the installed software details. If there is any, can I read these details in another machine in my network.

Thanks in advance.

Jithesh K
Joe Ess

Joined: Oct 29, 2001
Posts: 9072

Java is supposed to be cross-platform so there is nothing in the API that lets you look at the Windows registry. There are several third-party solutions like ICE Engineering's JNIRegistry tool. As for reading that information across the network, you'd need to install your registry tool locally (signed applet, Java Web Start would do) and write JNI or custom networking code to move the information.

[How To Ask Questions On JavaRanch]
Harish Kashyap
Ranch Hand

Joined: Jun 14, 2000
Posts: 118
try exploring
java.util.prefs package

you can read/write entries to windows registry through java but upto some limit.....
wood burning stoves
subject: Reading Windows Registry Content through Java