Actually error was due to space between Program Files.When I took out space it was working ,but there was problem with one or two registered programms.But as Mat told after putting double quotes it is working fine,even with space between Program Files. Thank you very much. Veena Matt Benson wrote:I suspect your CLASSPATH isn't quite as screwed up as your e-mail made it out to be, but you might try putting it in double quotes where it is set in AUTOEXEC.BAT.
-Matt --- Veena B wrote: > > Thanks Donal.But now it is throwing the following > exception > Exception in thread "main" > java.lang.NoClassDefFoundError: > Files\PhotoDeluxe2/0\ > AdobeConnectables;c:\jdk1/2\lib;c:\xerces2 > > Ehrn I check environment variables using set command > I get following > TMP=c:\windows\TEMP > TEMP=C:\windows\TEMP > winbootdir=C:\WINDOWS > COMSPEC=C:\COMMAND.COM > PROMPT=$P > ANT_HOME=c:\Ant > JAVA_HOME=c:\j2sdkse1.3.1 > J2EE_HOME=j2sdkee1.3.1 > PATH=C:\WINDOWS;c:\windows;c:\windows\COMMAND;C:\J2SDKSE1.3.1\BIN;J2SDKEE1.3.1\B > IN;C:\ANT\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\JDK1.2\BIN > CLASSPATH=c:\Ant\lib;C:\Program > Files\PhotoDeluxe2.0\AdobeConnectables;c:\jdk1.2 > \lib;c:\xerces2 > windir=C:\WINDOWS > BLASTER=A220 I5 D1 > CMDLINE=c:\j2sdkse1.3.1\bin\java -classpath > "c:\Ant\lib\PARSER.JAR";"c:\Ant\lib\ > JAXP.JAR";"c:\Ant\lib\ANT.JAR";c:\Ant\lib;C:\Program > Files\PhotoDeluxe2.0\AdobeC > onnectables;c:\jdk1.2\lib;c:\xerces2 > -Dant.home="c:\Ant" org.apache.tools.ant.M > ain -version > > Everything looks perfect.Then why is it throwing > exception? > Veena > Donal Quinlan wrote:Veena, > > Just a guess, but I'd say your using Win98 or Win95 > and need to do the > following > > > http://support.microsoft.com/default.aspx?scid=kb;EN-US;q230205 > > Donal > > ----- Original Message ----- > From: "Veena B" > To: > Sent: Wednesday, August 21, 2002 11:11 AM > Subject: Problem with ANT > > > > > > Hello, > > > > I am having problem with ant.Simpl command like > ant -version is giving > > following lines.. > > > > Out of environment space > > Out of environment space > > Out of environment space > > Bad command or file name > > > > > > I have set all environment variables. > > > > Please can anyone explain me what is happening? > > > > Thanks > > > > Veena > > > > > > > > > > --------------------------------- > > Do You Yahoo!? > > HotJobs, a Yahoo! service - Search Thousands of > New Jobs > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > > > --------------------------------- > Do You Yahoo!? > HotJobs, a Yahoo! service - Search Thousands of New Jobs __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- To unsubscribe, e-mail: For additional commands, e-mail: --------------------------------- Do You Yahoo!? HotJobs, a Yahoo! service - Search Thousands of New Jobs
