dcsimg
Ant 1.3 worked fine but 1.4 gives a Usage:java message
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Dennis_Straight
Posted On:   Monday, September 10, 2001 09:00 AM

I am running Win NT and JDK 1.2.1 Ant 1.3 worked fine but when I try to run ant 1.4 I get this message: C: emp>ant build Usage: java [-options] class [args...] (to execute a class) or java -jar [-options] jarfile [args...] (to execute a jar file) where options include: -hotspot to select the "hotspot" VM -server to select the "server" VM -classic to select the "classic" VM If present, the option to select the VM must be first. The default VM is -hotspot. -cp -classpath set search path for application classes and resources -D = set a system property    More>>

I am running Win NT and JDK 1.2.1 Ant 1.3 worked fine but when I try to run ant 1.4 I get this message:



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


where options include:
-hotspot to select the "hotspot" VM

-server to select the "server" VM

-classic to select the "classic" VM

If present, the option to select the VM must be first.
The default VM is -hotspot.

-cp -classpath
set search path for application classes and resources
-D =
set a system property
-verbose[:class|gc|jni]
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

   <<Less

Re: Ant 1.3 worked fine but 1.4 gives a Usage:java message

Posted By:   Erik_Hatcher  
Posted On:   Tuesday, September 11, 2001 10:28 PM

What does "ant -debug build" output? Please wrap your response in
 tags so it keeps its formatting.
About | Sitemap | Contact