• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reading Windows Registry Content through Java

 
Jithesh Kozhipurath
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Joe Ess
Bartender
Posts: 9320
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Harish Kashyap
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try exploring
java.util.prefs package

you can read/write entries to windows registry through java but upto some limit.....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic