History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-1608
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Robin Shen
Reporter: Alexey Shumkin
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Traymonitor on Windows requires JRE but not JDK.

Created: 18/Apr/13 11:51 AM   Updated: 27/Oct/15 03:30 PM
Component/s: None
Affects Version/s: 5.0.16
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: client: Windows Server 2003 R2, JDK 1.6.0.12


 Description  « Hide
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.

 All   Comments   Work Log   Change History      Sort Order:
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".