Error: "Failed to open Java RunTime Environment registry key"
Technical Note IRE2883Created 22-Nov-2005Applies To
Synapta Services Builder for Screens 3.0
Synapta Services Builder for 3270 & 5250
ScreenConnectorProxyService
Symptoms
Error: "Failed to open Java RunTime Environment registry key"Error "The description for Event ID ( 0 ) in Source ( ScreenConnectorProxyService ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Failed to open Java Runtime Environment registry key.."Error message appears in Event Viewer
Changes
New installation of the SC_ProxySvc_Installer.exe on a remote client PC
Cause
There is an \ATMINST registry key missing in the HK_LM\Software\Attachmate hive
Fix
Add the following registry entries:
1) copy the lines between >>> and <<< in Notepad
>>>
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Attachmate\ATMINST]
"Inst_Directory"="C:\\Program Files\\Attachmate"
"Inst_Reboot"="false"
[HKEY_LOCAL_MACHINE\SOFTWARE\Attachmate\ATMINST\JRE]
"CurrentVersion"="1.4.1_01"
[HKEY_LOCAL_MACHINE\SOFTWARE\Attachmate\ATMINST\JRE\1.4.2_02]
"JavaHome"="C:\\Program Files\\java\\j2re1.4.2_02"
"MicroVersion"="1"
"RuntimeLib"="C:\\Program Files\\java\\j2re1.4.2_02\\bin\\client\\jvm.dll"
<<<
2) Change when applicable the lines pointing towards the installed JRE
3) save the file with a .reg extension (e.g. atminst.reg)
4) double-click on this file and add to registry