Note that I don't think that will necessarily manipulate the registry. I think the implementation is free to do what it wants, but that current Sun VMs for Windows happne to use the registry. I may be wrong in that though.
Also note that this does not allow arbitrary registry manipulation. If you want to do that, you'll have to use JNI to access native Windows C/C++ libraries that do that.