ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srinivas Velidanda" <>
Subject RE: trouble getting ant1.4.1 to work
Date Mon, 11 Feb 2002 05:11:00 GMT

ant.jar file in jakarta-ant-1.4.1\lib should be in your classpath at
runtime. You run ant, without having any other classes in your classpath.
Before running ant batch file you make sure, classpath environment variable
contains no classes by typing
set classpath= and press enter at command prompt, then you run ant.

 before doing this make sure the JAVA_HOME environment variable points
correctly to your current version of java home directory.

 ant batch file set all the required jar files into the classpath and then

mail me back if this works fine, still if you have problems, mail me what
actually happening.


-----Original Message-----
From: []
Sent: Sunday, February 10, 2002 12:01 AM
Subject: Fwd: trouble getting ant1.4.1 to work

  I'm new to the group.
  I am having trouble getting ant 1.4.1 working on my PC. Can someone help?
  I have downloaded the jakarta-ant-1.4.1 zip file and unzipped it into d:\
I have set:
  set ANT_HOME=d:\ant1.4.1
  set JAVA_HOME=c:\jdk1.3.1_01
  set path=%path%;%JAVA_HOME%\bin;%ANT_HOME%\bin  (in my autoexec.bat)
  set classpath=%classpath%;%ANT_HOME%\lib\*.jar  (in the current command

when I type: ant -version on the command line, I get:
Exception in thread "main"

I am using Windoze 98 on an Athalon Thunderbird processor. The mystery is

when I try this at work on Windows NT 4.0/Pentium III, I have no trouble.
thoughts? Thanks.

----- End forwarded message -----

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message