DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23589>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23589

cocoon.bat can't handle spaces in JAVA_HOME

           Summary: cocoon.bat can't handle spaces in JAVA_HOME
           Product: Cocoon 2
           Version: 2.1.2
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


My JDK is installed under C:\Program Files.  Following the instructions in INSTALL.txt 
I've build Cocoon successfully.  However, when I run "cocoon servlet" I get the 
following error:

D:\Development\Java\cocoon-2.1.2>cocoon servlet
cocoon.bat: using .\build\webapp as the webapp directory
The system cannot find the file C:\Program.

If I edit cocoon.bat and change the occurrences of
%JAVA_HOME%\bin\java.exe
to
"%JAVA_HOME%\bin\java.exe"
it runs okay.

Reply via email to