ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Savinos Minas" <>
Subject Ant build problems
Date Mon, 29 Jul 2002 21:47:14 GMT

I can't get Ant to build for some strange reason  I am new to Ant and I am using it to build
some examples.  I followed all the instructions from the Ant web site but no luck.  I am using
Ant 1.5 and j2sdk 1.4.1 beta.    I have set the environment variables to ANT_HOME=D:\Jakarta\Ant\jakarta-ant-1.5
and JAVA_HOME=D:\j2sdk1.4.1.  

My path is 

I am using Windows XP.   I received the following message when try to run Ant.  I get the
same message when I type java at the prompt.  

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

where options include:
    -client       to select the "client" VM
    -server       to select the "server" VM
    -hotspot      is a synonym for the "client" VM  [deprecated]
                  The default VM is client.

    -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 and exit
    -showversion  print product version and continue
    -? -help      print this help message
    -X            print help on non-standard options
                  enable assertions
                  disable assertions
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions

Your help will greatly appreciated,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message