简体   繁体   中英

Java Preferences doesn't work in Windows 7

Recently I build an Java application. I use Java Preferences to store some information. When 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM