You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "maximeloridan (JIRA)" <se...@james.apache.org> on 2007/01/23 17:43:49 UTC

[jira] Created: (JAMES-769) Error when JAVA_HOME contains a space when launching with run.sh

Error when JAVA_HOME contains a space when launching with run.sh
----------------------------------------------------------------

                 Key: JAMES-769
                 URL: https://issues.apache.org/jira/browse/JAMES-769
             Project: James
          Issue Type: Bug
    Affects Versions: 2.3.0
         Environment: Windows XP
            Reporter: maximeloridan


I fixed JAVA_HOME with the value "C:\Program files\..." (because my JDK is here)

If I launched James with run.BAT, there is no error
BUT if I launched with run.sh , I got an error saying that "C:\Program" is not such file or directory.

The reason is the space after "Program" .

I saw that there was the same problem before with "run.bat" described in JAMES-307.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (JAMES-769) Error when JAVA_HOME contains a space when launching with run.sh

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490538 ] 

Norman Maurer commented on JAMES-769:
-------------------------------------

why you use run.sh under windows? Do you try to use cygwin ?

> Error when JAVA_HOME contains a space when launching with run.sh
> ----------------------------------------------------------------
>
>                 Key: JAMES-769
>                 URL: https://issues.apache.org/jira/browse/JAMES-769
>             Project: James
>          Issue Type: Bug
>    Affects Versions: 2.3.0
>         Environment: Windows XP
>            Reporter: maximeloridan
>
> I fixed JAVA_HOME with the value "C:\Program files\..." (because my JDK is here)
> If I launched James with run.BAT, there is no error
> BUT if I launched with run.sh , I got an error saying that "C:\Program" is not such file or directory.
> The reason is the space after "Program" .
> I saw that there was the same problem before with "run.bat" described in JAMES-307.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Resolved: (JAMES-769) Error when JAVA_HOME contains a space when launching with run.sh

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved JAMES-769.
---------------------------------

    Resolution: Invalid

This seems to be invalid

> Error when JAVA_HOME contains a space when launching with run.sh
> ----------------------------------------------------------------
>
>                 Key: JAMES-769
>                 URL: https://issues.apache.org/jira/browse/JAMES-769
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 2.3.0
>         Environment: Windows XP
>            Reporter: maximeloridan
>
> I fixed JAVA_HOME with the value "C:\Program files\..." (because my JDK is here)
> If I launched James with run.BAT, there is no error
> BUT if I launched with run.sh , I got an error saying that "C:\Program" is not such file or directory.
> The reason is the space after "Program" .
> I saw that there was the same problem before with "run.bat" described in JAMES-307.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org