permaculture playing cards*
The moose likes Beginning Java and the fly likes Interacting with registry on windows platform!! 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 » Beginning Java
Bookmark "Interacting with registry on windows platform!!" Watch "Interacting with registry on windows platform!!" New topic
Author

Interacting with registry on windows platform!!

arun mahajan
Ranch Hand

Joined: Dec 07, 2001
Posts: 305
Hello,
Can some body tell me good reference material/website to interact with registry. The objective is to write some data into it while installing a program which can be extracted afterward.
Any help??
regards,
Arun
arun mahajan
Ranch Hand

Joined: Dec 07, 2001
Posts: 305
Any taker for this thread?
Arun
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
You may want to have a look at the J2SE 1.4's Preferences API.
If you want some code, you can look at the java.util.prefs.WindowsPreferences class.
Another resource: Sir, What is Your Preference?


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
Steve Deadsea
Ranch Hand

Joined: Dec 03, 2001
Posts: 125
You can get a free Java JNI package to manipulate the MS Windows Registry from http://www.trustice.com/java/jnireg/
You can access the windows registry through the Java 1.4 preferences API.
http://www.esus.com/javaindex/j2se/jdk1.2/javautil/preferences/prefsaccessregistry.html
 
jQuery in Action, 2nd edition
 
subject: Interacting with registry on windows platform!!
 
Similar Threads
Can I access the registry with Java?
Reading Windows Registry Content through Java
Window registry through program?
How to monitor softwares in Java
Read/Write registers