You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jack Cai (JIRA)" <ji...@apache.org> on 2008/12/11 08:37:44 UTC

[jira] Created: (GERONIMO-4462) Allow JAVA_HOME to point to a JRE in Windows OS

Allow JAVA_HOME to point to a JRE in Windows OS
-----------------------------------------------

                 Key: GERONIMO-4462
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4462
             Project: Geronimo
          Issue Type: Improvement
      Security Level: public (Regular issues)
          Components: commands
    Affects Versions: 2.1.3, 2.2
         Environment: Windows OS
            Reporter: Jack Cai
            Priority: Minor


Currently the setjavaenv.bat script will set JRE_HOME=JAVA_HOME if JRE_HOME is not set. This requires JAVA_HOME to point to a JDK installation. Otherwise the geronimo.bat script will fail to launch because JAVA_HOME\jre is not a valid dir. This is an unnecessary requirement. We should allow user to point JAVA_HOME to a JRE installation, as what we do in Linux script.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (GERONIMO-4462) Allow JAVA_HOME to point to a JRE in Windows OS

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Gawor resolved GERONIMO-4462.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2
                   2.1.4
         Assignee: Jarek Gawor

Committed the patch to trunk (revision 725730) and branches/2.1 (revision 725731). Thanks!


> Allow JAVA_HOME to point to a JRE in Windows OS
> -----------------------------------------------
>
>                 Key: GERONIMO-4462
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4462
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: commands
>    Affects Versions: 2.1.3, 2.2
>         Environment: Windows OS
>            Reporter: Jack Cai
>            Assignee: Jarek Gawor
>            Priority: Minor
>             Fix For: 2.1.4, 2.2
>
>         Attachments: GERONIMO-4462_Jack.patch
>
>
> Currently the setjavaenv.bat script will set JRE_HOME=JAVA_HOME if JRE_HOME is not set. This requires JAVA_HOME to point to a JDK installation. Otherwise the geronimo.bat script will fail to launch because JAVA_HOME\jre is not a valid dir. This is an unnecessary requirement. We should allow user to point JAVA_HOME to a JRE installation, as what we do in Linux script.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (GERONIMO-4462) Allow JAVA_HOME to point to a JRE in Windows OS

Posted by "Jack Cai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jack Cai closed GERONIMO-4462.
------------------------------


Thanks Jarek. Closing this issue.

> Allow JAVA_HOME to point to a JRE in Windows OS
> -----------------------------------------------
>
>                 Key: GERONIMO-4462
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4462
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: commands
>    Affects Versions: 2.1.3, 2.2
>         Environment: Windows OS
>            Reporter: Jack Cai
>            Assignee: Jarek Gawor
>            Priority: Minor
>             Fix For: 2.1.4, 2.2
>
>         Attachments: GERONIMO-4462_Jack.patch
>
>
> Currently the setjavaenv.bat script will set JRE_HOME=JAVA_HOME if JRE_HOME is not set. This requires JAVA_HOME to point to a JDK installation. Otherwise the geronimo.bat script will fail to launch because JAVA_HOME\jre is not a valid dir. This is an unnecessary requirement. We should allow user to point JAVA_HOME to a JRE installation, as what we do in Linux script.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-4462) Allow JAVA_HOME to point to a JRE in Windows OS

Posted by "Jack Cai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jack Cai updated GERONIMO-4462:
-------------------------------

    Attachment: GERONIMO-4462_Jack.patch

Providing a fix. Tested in Windows XP.

> Allow JAVA_HOME to point to a JRE in Windows OS
> -----------------------------------------------
>
>                 Key: GERONIMO-4462
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4462
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: commands
>    Affects Versions: 2.1.3, 2.2
>         Environment: Windows OS
>            Reporter: Jack Cai
>            Priority: Minor
>         Attachments: GERONIMO-4462_Jack.patch
>
>
> Currently the setjavaenv.bat script will set JRE_HOME=JAVA_HOME if JRE_HOME is not set. This requires JAVA_HOME to point to a JDK installation. Otherwise the geronimo.bat script will fail to launch because JAVA_HOME\jre is not a valid dir. This is an unnecessary requirement. We should allow user to point JAVA_HOME to a JRE installation, as what we do in Linux script.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.