Registry seems locked for a user at Windows Creators update

48 views Asked by At

I have a bundled 32-bit JavaFX Desktop Application, that worked on many machines (Mac and Windows OS) successfully for several years, until Windows Creators update was released. Since that update we observed several computers where application can't start (It launches an Alert Dialog saying : Error Invoking Method -> Can't start JVM). The exception was JavaSecurityException cannot read from HKLM\JavaSoft\Prefs\Some_PATH.

Calling preferences as follows:

Preferences.systemNodeForPackage(MyPreferences.class).node(myNode);

The most strange thing in all this, that on some machines "Run as Administrator" helped and on others did not. But "Run in compatibility mode Windows 8" worked on all machines. Also on some machines it works for one user (sometimes administrator, sometimes not) and doesn't work for all the other users. We need using HKLM since we have feature that only admin should write and users can read. Did anyone else faced this issue? Investigating the internet didn't help. Please, advice.

0

There are 0 answers