I'm having the same issue on Windows ME (see the post about four emails before yours) and I tried the same thing and had the same result. It seems to me that 98 and ME have quite the amount in common. This is a huge issue for me as I build everything in ant these days. I'm even converting my website over to XML/XSL/XSLT and ant!
Simon >-----Original Message----- >From: Jim Cobban [mailto:[EMAIL PROTECTED]] >Sent: Monday, January 27, 2003 4:40 PM >To: [EMAIL PROTECTED] >Subject: NoClassDefFound trying to run ant > > >While I wait for a solution to the problem in ant.bat I have >replaced the 'if exist' statement with an unconditional goto. > >Now I get: > >D:\MyPrograms\JavaProgs\CensusServlet\ReadXls>ant >Exception in thread "main" java.lang.NoClassDefFoundError: >org/apache/tools/ant/Main > >So I assume that the classpath is wrong. However there is >nothing in the installation instructions about setting the classpath. > >Personally I think there is a problem with the installation >instructions. > >Jim Cobban [EMAIL PROTECTED] >34 Palomino Dr. >Kanata, ON, CANADA >K2M 1M1 >+1-613-592-9438 > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>