You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Shawn Jiang (JIRA)" <ji...@apache.org> on 2012/07/26 08:58:35 UTC

[jira] [Resolved] (GERONIMO-5737) setJavaEnv.bat does not work under TCC/LE command shell for Windows

     [ https://issues.apache.org/jira/browse/GERONIMO-5737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Jiang resolved GERONIMO-5737.
-----------------------------------

    Resolution: Fixed

committed the patch to 21/22/30 branch.
                
> setJavaEnv.bat does not work under TCC/LE command shell for Windows
> -------------------------------------------------------------------
>
>                 Key: GERONIMO-5737
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5737
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: general
>    Affects Versions: 2.1.8, 2.2, 2.2.1, 3.0
>         Environment: Windows 7 (version 6.1.7600)  using JPSoft TCC/LE version 11.00.40
>            Reporter: Ron Perrella
>            Assignee: Shawn Jiang
>            Priority: Trivial
>             Fix For: 2.2.2, 3.0.1, 2.1.9
>
>
> The setJavaEnv.bat program will not run as written  under JPSoft TCC/LE command shell.  It is a triival fix which I have test on my copy.
> change line 44 by inserting one space in front of the open paren:
> FROM: if defined var JAVA_HOME(
> TO: if defined var JAVA_HOME (
> change line 50 by inserting one space in front of the open paren:
> FROM: if defined var JRE_HOME(
> TO: if defined var JRE_HOME (
> That's it.  The script will now run correctly under Microsoft CMD.exe as well as TCC.exe

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