Java preferences do not work on Windows 7

I am recently creating a Java application. I use Java Preferences to store some information. When I ran my application on Windows XP, the application works fine. I can store information and receive stored information. But when I launched it in Windows 7, Java Preference was not able to save the information. Is there any solution?

+6
source share
2 answers

Have you tried this with UAC? A.

System settings cannot be installed with Java without UAC or UAC enhancement.

User / User settings MAY be.

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

+3
source

where do you have these property files? Not a problem just with a lack of permissions? I regularly encode Windows Vista and, with the exception of occasional permission problems, everything works as it should.

+1
source

Source: https://habr.com/ru/post/895330/


All Articles