[jbosstools-issues] [JBoss JIRA] Commented: (JBDS-1150) Installer chooses 64-bit VM as the default VM even with 32-bit distribution

Denis Golovin (JIRA) jira-events at lists.jboss.org
Tue May 11 13:45:26 EDT 2010


    [ https://jira.jboss.org/jira/browse/JBDS-1150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12530205#action_12530205 ] 

Denis Golovin commented on JBDS-1150:
-------------------------------------

It happens because of the issue in JREPathPanel. It shows path to java used to run installer as default, but it should execute just "java" to initialize default path because it is what eclipse uses if there is no -vm option.

it means if you installer for win32 x86 started like

C:\Program Files (x86)\Java\jre6 -jar installer-win32.jar 

and it installs everything without errors with default java vm selected on step 4

JBDS might not start if default java is from C:\Program Files\Java\jre6


There is another issue in installer. It doesn't check that right java version x86 or x86_64 is used to run installer. It is critical for windows because installer for win32 contains only 32 bit version for dll's to create shortcuts and modify registry keys.



> Installer chooses 64-bit VM as the default VM even with 32-bit distribution
> ---------------------------------------------------------------------------
>
>                 Key: JBDS-1150
>                 URL: https://jira.jboss.org/jira/browse/JBDS-1150
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Bug
>          Components: installer
>    Affects Versions: 3.0.0.CR2
>         Environment: Windows 7 x64 Ultimate Edition
>            Reporter: Trustin Lee
>             Fix For: 3.0.1.GA, 3.1.0.beta1
>
>
> At step 4 of 11, the default Java VM path points to C:\Program Files\Java\jre6.  However, it is a 64-bit VM which does not work with the 32-bit distribution.  If the default system JVM is 64-bit, the installer should ask user to specify the correct VM path or try to guess more paths (e.g. C:\Program Files (x86)\Java\jre6).  Otherwise, JBDS will fail on startup even if the installation succeeds.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list