<< Back to previous view |
[QB-1608] Traymonitor on Windows requires JRE but not JDK.
|
|
Status: | Closed |
Project: | QuickBuild |
Component/s: | None |
Affects Version/s: | 5.0.16 |
Fix Version/s: | None |
Type: | Bug | Priority: | Major |
Reporter: | Alexey Shumkin | Assigned To: | Robin Shen |
Resolution: | Won't Fix | Votes: | 0 |
Remaining Estimate: | Unknown | Time Spent: | Unknown |
Original Estimate: | Unknown | ||
Environment: | client: Windows Server 2003 R2, JDK 1.6.0.12 |
Description |
Running traymonitor gives an error
--------------------------- Launch4j --------------------------- This application requires a Java Runtime Environment 1.6.0 --------------------------- OK --------------------------- After investigation I've found out that traymonitor.exe searches regsitry key "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment" (and "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\Java2 Runtime Environment" to detect Java version. But I have already installed JDK and working Java. To avoid this error I've copied all subkeys and values of "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit" registry key to newly created "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment". And it's worked. I guess it's strange to require JRE when JDK is already installed. |
Comments |
Comment by Robin Shen [ 19/Apr/13 01:21 AM ] |
Yes you are right, QB relies on launch4j to search for system JRE. In your case, I guess when you install JDK, you did not select the option "install as system JRE". |