You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Stasa Medjedovic (JIRA)" <ji...@apache.org> on 2010/06/03 19:08:54 UTC

[jira] Created: (GERONIMO-5365) Parentheses in JAVA_HOME path prevent *.bat files from running

Parentheses in JAVA_HOME path prevent *.bat files from running
--------------------------------------------------------------

                 Key: GERONIMO-5365
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5365
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
    Affects Versions: 2.2
         Environment: Microsoft Windows XP Pro + SP3, 64bit
            Reporter: Stasa Medjedovic


I have JAVA_HOME variable set as: 
JAVA_HOME=C:\Program Files (x86)\Java\jdk1.6.0_17

When I try to run any of the .bat files from Geronimo bin folder I get the following error:

> \Java\jdk1.6.0_17\jre) was unexpected at this time.

I tried to quote JAVA_HOME as:
> set JAVA_HOME="C:\Program Files (x86)\Java\jdk1.6.0_17"
and got the same error.

Parentheses are probably the problem ...




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


[jira] Commented: (GERONIMO-5365) Parentheses in JAVA_HOME path prevent *.bat files from running

Posted by "Kan Ogawa (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-5365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875432#action_12875432 ] 

Kan Ogawa commented on GERONIMO-5365:
-------------------------------------

Stasa,

This is *NOT* Geronimo problem.
In the first place, you should not install JDK/JRE into a path location including space character (e.g. C:\Program Files, etc).

> Parentheses in JAVA_HOME path prevent *.bat files from running
> --------------------------------------------------------------
>
>                 Key: GERONIMO-5365
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5365
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.2
>         Environment: Microsoft Windows XP Pro + SP3, 64bit
>            Reporter: Stasa Medjedovic
>
> I have JAVA_HOME variable set as: 
> JAVA_HOME=C:\Program Files (x86)\Java\jdk1.6.0_17
> When I try to run any of the .bat files from Geronimo bin folder I get the following error:
> > \Java\jdk1.6.0_17\jre) was unexpected at this time.
> I tried to quote JAVA_HOME as:
> > set JAVA_HOME="C:\Program Files (x86)\Java\jdk1.6.0_17"
> and got the same error.
> Parentheses are probably the problem ...

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


[jira] Commented: (GERONIMO-5365) Parentheses in JAVA_HOME path prevent *.bat files from running

Posted by "Kevan Miller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-5365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875587#action_12875587 ] 

Kevan Miller commented on GERONIMO-5365:
----------------------------------------

Agreed that the problem is with the '(' ')'.

IMO, this is something that should work. IIRC, that's the default location for the Sun JDK.

Using the Windows shortname would be a temporary work around:

set JAVA_HOME=C:\progra~2\Java\jdk1.6.0_17

> Parentheses in JAVA_HOME path prevent *.bat files from running
> --------------------------------------------------------------
>
>                 Key: GERONIMO-5365
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5365
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.2
>         Environment: Microsoft Windows XP Pro + SP3, 64bit
>            Reporter: Stasa Medjedovic
>
> I have JAVA_HOME variable set as: 
> JAVA_HOME=C:\Program Files (x86)\Java\jdk1.6.0_17
> When I try to run any of the .bat files from Geronimo bin folder I get the following error:
> > \Java\jdk1.6.0_17\jre) was unexpected at this time.
> I tried to quote JAVA_HOME as:
> > set JAVA_HOME="C:\Program Files (x86)\Java\jdk1.6.0_17"
> and got the same error.
> Parentheses are probably the problem ...

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