aspose file tools
The moose likes Beginning Java and the fly likes Interacting with registry on windows platform!! Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply 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: 304
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: 304
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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Interacting with registry on windows platform!!
 
Similar Threads
How to monitor softwares in Java
Can I access the registry with Java?
Reading Windows Registry Content through Java
Read/Write registers
Window registry through program?