You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2003/10/03 13:14:47 UTC
DO NOT REPLY [Bug 23589] New: -
cocoon.bat can't handle spaces in JAVA_HOME
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: dev@cocoon.apache.org
ReportedBy: ats37@hotmail.com
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.