You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2003/06/25 05:59:05 UTC
DO NOT REPLY [Bug 21070] New: -
ClassPath with spaces cause undefined class errors
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=21070>.
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=21070
ClassPath with spaces cause undefined class errors
Summary: ClassPath with spaces cause undefined class errors
Product: Fop
Version: 0.20.5
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: Other
Component: general
AssignedTo: fop-dev@xml.apache.org
ReportedBy: zeimusu@yahoo.co.uk
CC: zeimusu@yahoo.co.uk
When I started fop I got an error about class "and" not being defined. After
poking around a bit I found the problem was the fop.bat script. It was trying to
execute
java -cp C:\Documents and settings\james\...
and it iterpreted "and" as the class to execute, and threw the error.
My patch was to quote the classpath in fop.bat, that is:
change
java -cp %LOCALCLASSPATH% org.apache.fop.apps.Fop %1 %2 %3 %4 %5 %6 %7 %8
to
java -cp "%LOCALCLASSPATH%" org.apache.fop.apps.Fop %1 %2 %3 %4 %5 %6 %7 %8
perhaps that breaks something in W9x, I haven't checked.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org