We use the Java preferences in some of our apps and haven\'t really noticed this since the utility that makes the calls is fairly old and was written in Windows XP days. But
for systemRoot:
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\...
for userRoot:
HKEY_CURRENT_USER\SOFTWARE\JavaSoft\...