开发者

Java Preferences doesn't work in Windows 7

开发者 https://www.devze.com 2023-03-28 20:10 出处:网络
Recently I build an Java application. I use Java Preferences to store some information. W开发者_开发问答hen I ran my application in windows XP, the application run perfectly. I can store information a

Recently I build an Java application. I use Java Preferences to store some information. W开发者_开发问答hen I ran my application in windows XP, the application run perfectly. I can store information and get the stored information. But when I ran it in Windows 7, Java Preference failed to store the information. Is there any solution?


Have you tried it with UAC off?

System preferences can't be set from Java without UAC off or UAC elevation.

Personal/User preferences CAN be.

Edit See my old question at: Is there a system-wide version of the Preferences API?


where do you have these properties files? Isn't the problem just with lack of permissions? I regularly code on Windows Vista and except for occasional problem with permissions everything works as it should.

0

精彩评论

暂无评论...
验证码 换一张
取 消