Díky, byla špatně hodnota v registrech:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curr entVersion\Explorer\Shell Folders]
zmátlo mě že je tam napsáno: "!Do not use this registry key"="Use the SHGetFolderPath or SHGetKnownFolderPath function instead"
Ale Java to prostě používá.
Díky