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:41:44 UTC

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

     [ 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.