I am Using Win NT 4.0
with JDK 1.3.0

The error occours because the second part (aft the space) is recognices as
class to be run. and this class could not be found.

Enrico

> Which versions of Windows is this correct for? Win95/98/2000/NT/ ?
>
> PS IMHO anyone with spaces in filenames is asking for trouble...
>
> Alex
>
>  --- Enrico Schnepel <[EMAIL PROTECTED]> wrote:
> > if there are spaces in the classpath I get a NoClassDefFoundError.
> >
> > The command running Java must contain a '"' arround %CLASPATH% and
should
> > look like
> > %JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath
> > %LOCALCLASSPATH%;"%CLASSPATH%" org.apache.tools.ant.Main %1 %2 %3 %4 %5
> > instead of
> > %JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath
> > %LOCALCLASSPATH%;%CLASSPATH% org.apache.tools.ant.Main %1 %2 %3 %4 %5
> >
> > Thanks for merging
> >
> > Enrico Schnepel
>

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

--
GMX Tipp:

Machen Sie Ihr Hobby zu Geld bei unserem Partner 1&1!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to