Windows Registry editing in Java

Java don't have public API's for manipulating registry , but java provides some internal classes using that you can manipulate registry.

This is purely a hack ( use at your own risk and many cases not recommended :) ) and you need to use reflection . There is a class named WindowsPreferences in java.util.prefs package , you can use for this purpose .

This class is not documented ( why ? first of all class is package protected , and there is no public methods ) , use the source to know more abt the functions available

0 opinions: