ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amos Lieberman" <>
Subject RE: Win 2000 Install/Exec
Date Mon, 23 Jul 2001 15:15:20 GMT
How will I know if is running correctly. What should I see in the dos prompt?

Amos Lieberman
Internet Support Specialist
Information Technology and Telecommunication Services
American Library Association

Help us improve our website! Fill in our web site user survey at

>>> 07/23/01 09:27AM >>>
Your bat file is not echo?ing the 'java' command.  Parameters for java are

Either insert _echo on_ before the java (start_java, or something like that)
or remove the 'at' symbol before the java command:

Echo on
@java incorrect parameters you will NOT see
java incorrect parameters you will see

-----Original Message-----
From: Amos Lieberman [] 
Sent: Monday, July 23, 2001 10:23 AM
To: >
Subject: Win 2000 Install/Exec

I am a beginenr with Ant, and am experiencing some troubles after installing
the software.  After installing
 ANT and trying to run it I get the message printed below.  Could someone
tell me what I am doing wrong?
Thanks for your help.

C:\> ant
Usage: java [-options] class [args...]
           (to execute a class)
   or  java -jar [-options] jarfile [args...]
           (to execute a jar file)

where options include:
    -cp -classpath <directories and zip/jar files separated by ;>
              set search path for application classes and resources
              set a system property
              enable verbose output
    -version  print product version
    -? -help  print this help message
    -X        print help on non-standard options

View raw message