[ 
https://issues.apache.org/jira/browse/DIRSTUDIO-780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209578#comment-13209578
 ] 

Pierre-Arnaud Marcelot edited comment on DIRSTUDIO-780 at 2/16/12 6:25 PM:
---------------------------------------------------------------------------

I had exactly the same test on my colleague's system.

To detect the JRE we're reading the Windows registry:
> ReadRegStr $1 HKLM "SOFTWARE\JavaSoft\Java Runtime Environment" 
> "CurrentVersion"
> ReadRegStr $2 HKLM "SOFTWARE\JavaSoft\Java Runtime Environment\$1" "JavaHome"

I'm afraid it will be difficult to detect the 64 bit JVM on a 64 bit system.

Now, that issue won't occur very often since most people will only have a 
single JRE installed and if they have multiple JREs, I guess they're clever 
enough to select the right one (like you noticed that the one selected by the 
installer would most probably fail because it was not a 64 bit JVM).

So, all in all, I think we're good here.

What do you think?

BTW, I hope you were still able to pin the application to the taskbar after it 
successfully launched.
                
      was (Author: pamarcelot):
    I had exactly the same test on my colleague's system.

To detect the JRE we're reading the Windows registry:
> ReadRegStr $1 HKLM "SOFTWARE\JavaSoft\Java Runtime Environment" 
> "CurrentVersion"
> ReadRegStr $2 HKLM "SOFTWARE\JavaSoft\Java Runtime Environment\$1" "JavaHome"

I'm afraid it will be difficult to detect the 64 bit JVM on a 64 bit system.

Now, that issue won't occur very often since most people will only have a 
single JRE installed and if they have multiple JREs, I guess they're clever 
enough to select the right one (like you notice that the one select would most 
probably fail because it was not a 64 bit JVM).

So, all in all, I think we're good here.

What do you think?

BTW, I hope you were still able to pin the application to the taskbar after it 
successfully launched.
                  
> Windows 7 taskbar display of pinned Studio icon
> -----------------------------------------------
>
>                 Key: DIRSTUDIO-780
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-780
>             Project: Directory Studio
>          Issue Type: Question
>    Affects Versions: 2.0.0-M2
>         Environment: Windows 7 64 bit SP1
>            Reporter: Aleks M
>            Priority: Trivial
>
> Hello
> I've noticed one more thing.
> I'm using the Windows 7 style taskbar where you can "pin" applications to the 
> taskbar.
> In this case I've pinned the Apache Directory Studio icon from the startmenu 
> which points to: "C:\Program Files\Apache Directory Studio\Apache Directory 
> Studio.exe"
> When clicking on the icon in the taskbar it starts Studio as it should but 
> then the icon should change into the icon of the running app. 
> This doesn't happen with Studio 2M2. The icon is changed while Studio is 
> loading and it even has a nice progress bar shown in the taskbar, then when 
> it has loaded the icon is changed back as if the app isn't running and 
> another icon for the running Studio is displayed.
> I'm not marking this as a bug since it could be by design to allow loading 
> several Studio instances at once? In this case PuTTY has a nicer way of doing 
> it, since you can right click on the running instance in the taskbar and 
> start a new instance.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to