[jbosstools-issues] [JBoss JIRA] (JBDS-2659) Installer should pick up JDK location when it is possible

Denis Golovin (JIRA) jira-events at lists.jboss.org
Wed Jul 3 20:43:21 EDT 2013


     [ https://issues.jboss.org/browse/JBDS-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Denis Golovin updated JBDS-2659:
--------------------------------

    Description: 
This feature affects default path to JVM initialization under Windows and Linux:

*Scenario 1: (Windows and Linux)*

Installer is started with JDK using full path to java as
{code}/path-to-jdk/bin/java -jar installer.jar{code}
or /path-to-jdk/bin is in PATH and installer started as
{code}java -jar installer.jar{code}

Step #4 "Select Java VM" should show /path-to-jdk/ as default Java VM location

For example starting installer on Windows with java from JDK installation as

{code}c:\Program Files\Java\jdk1.6_0_31\bin\java -jar installer.jar"{code}

should pick up c:\Program Files\Java\jdk1.6_0_31\ as Default Java VM location


*Scenario 2: (Windows only)*

Running installer with java as shown below after default installation of JDK
{code}java -jar installer.jar{code}

Step#4 "Select Java VM" should show "C:\Programm Files\Java\jdk1.<n>.0_NN" as sdefault Java VM location

For example with default installation of JDK 1.6.0_31 if installer started as 
{code}java -jar installer.jar{code}
Default Java VM should be C:\Programm Files\Java\jdk1.6.0_31


  was:
This feature affects default path to JVM initialization under Windows and Linux:

*Scenario 1: (Windows and Linux)*

Installer is started with JDK using full path to java as
{code}/path-to-jdk/bin/java -jar installer.jar{code}
or /path-to-jdk/bin is in PATH and installer started as
{code}java -jar installer.jar{code}

Step #4 "Select Java VM" should show /path-to-jdk/ as default Java VM location

For example starting installer on Windows with java from JDK installation as

{code}c:\Program Files\Java\jdk1.6_0_31\bin\java -jar installer.jar"{code}

should pick up c:\Program Files\Java\jdk1.6_0_31\ as Default Java VM location


*Scenario 2: (Windows only)*

Running installer with java as shown below after default installation of JDK
{code}java -jar installer.jar<n>{code}

Step#4 "Select Java VM" should show "C:\Programm Files\Java\jdk1.<n>.0_NN" as sdefault Java VM location

For example with default installation of JDK 1.6.0_31 if installer started as 
{code}java -jar installer.jar{code}
Default Java VM should be C:\Programm Files\Java\jdk1.6.0_31



    
> Installer should pick up JDK location when it is possible
> ---------------------------------------------------------
>
>                 Key: JBDS-2659
>                 URL: https://issues.jboss.org/browse/JBDS-2659
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: installer
>    Affects Versions: 7.0.0.Beta1
>            Reporter: Denis Golovin
>            Assignee: Denis Golovin
>            Priority: Critical
>              Labels: respin-a
>             Fix For: 7.0.0.CR1
>
>
> This feature affects default path to JVM initialization under Windows and Linux:
> *Scenario 1: (Windows and Linux)*
> Installer is started with JDK using full path to java as
> {code}/path-to-jdk/bin/java -jar installer.jar{code}
> or /path-to-jdk/bin is in PATH and installer started as
> {code}java -jar installer.jar{code}
> Step #4 "Select Java VM" should show /path-to-jdk/ as default Java VM location
> For example starting installer on Windows with java from JDK installation as
> {code}c:\Program Files\Java\jdk1.6_0_31\bin\java -jar installer.jar"{code}
> should pick up c:\Program Files\Java\jdk1.6_0_31\ as Default Java VM location
> *Scenario 2: (Windows only)*
> Running installer with java as shown below after default installation of JDK
> {code}java -jar installer.jar{code}
> Step#4 "Select Java VM" should show "C:\Programm Files\Java\jdk1.<n>.0_NN" as sdefault Java VM location
> For example with default installation of JDK 1.6.0_31 if installer started as 
> {code}java -jar installer.jar{code}
> Default Java VM should be C:\Programm Files\Java\jdk1.6.0_31

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list