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
JavaRanch » Java Forums » Java » Java in General
Bookmark "Reading Windows Registry Content through Java" Watch "Reading Windows Registry Content through Java" New topic
Author

Reading Windows Registry Content through Java

Jithesh Kozhipurath
Ranch Hand

Joined: Aug 27, 2003
Posts: 76
Hi,
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


Jithesh K
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8997
    
    9

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.....
 
Don't get me started about those stupid light bulbs.
 
subject: Reading Windows Registry Content through Java