I am trying to install and set up
Ant 1.6.2 so I can properly set up
Tomcat 5.0.19. I am working on Windows 2000.
I downloaded ant from apache and expanded it. I set the ANT_HOME environment variable and my PATH variable to the ant home and ant bin directories. However, when I run "ant -help" from the command line I receive the error:
Exception in
thread "main" java.lang.NoClassDefFoundError: /;c:\j2sdk1/4/2_0\lib;c:\Blazix\Blazix/jar -help
The
string "/;c:\j2sdk1/4/2_0\lib;c:\Blazix\Blazix/jar" looks like it comes from the PATH variable. The PATH includes "C:\ant\apache-ant-1.6.2\bin" and it seems to be finding the ant.bat file and trying to execute it.
Can anyone help me figure out what I'm missing?
Thank you.