Link to home
Start Free TrialLog in
Avatar of pofpof98
pofpof98

asked on

How to write in the windows Registry using java?

Hello

Using jniwrapper, I can read some information in the windows registry but
I'd like to know if it is possible to write in the windows registry.

If yes, How it is posiible and can I get a little example?

Thanks
Regards

AC
Avatar of aozarov
aozarov

in java 1.4 you can use the java.util.prefs.Preferences API to write to the registry.
See http://javaalmanac.com/egs/java.util.prefs/BasicGetSet.html
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
pofpof98,
Did you have any issues with the pure java approach?