Quantcast
Channel: VMware Communities : All Content - VMware® ThinApp®
Viewing all articles
Browse latest Browse all 1382

Accessing \javasoft\prefs using Java inside the "bubble"

$
0
0

Thinapp 5.2.2 , Windows 7

 

Hi,

 

we've an mysterious problem with java inside  the bubble. The  application uses HKEY_CURRENT_USER\Software\JavaSoft\Prefs in the registry to store it settings.

The problem: If we put the settings inside HKEY_CURRENT_USER.txt , then we had problems accessing it inside  java. Java may fail to write these values or report 0x80000001 .

If we remove all values (not the keys) and put it into an windows .reg file and import it using regedit /s  file.reg inside the bubble, the java app launches without trouble.

The app may also works fine, if  the  registry keys and values are defined outside in the "normal"  Registry and the registry isolation mode is writecopy.

 

We still seeing errors like

 

Aug 15, 2017 5:46:49 PM java.util.prefs.WindowsPreferences <init>WARNUNG: Could not create windows registry node Software\JavaSoft\Prefs\my app at root 0x80000001. Windows RegCreateKeyEx(...) returned error code 5

 

But the java app seems to work so far.

Outside Thinapp, we don't see such registry errors. The user have the same rights.


Viewing all articles
Browse latest Browse all 1382

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>