ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: install ant 1.6.1 on Unix
Date Tue, 01 Jun 2004 18:49:47 GMT
Try running

ant --execdebug -version

This will show you exactly what command is being used
to invoke Ant.  That should give you some things to
check.

HTH,
Matt

--- Kathy Zhou <KZhou@cmdservices.com> wrote:
> I have installed the latest Ant on my window NT
> without any problem. 
> 
> Then I unzip the apache-ant-1.6.1-bin.zip downloaded
> on Unix (SunOS 5.8 with
> JDK1.4.1_03) and check the files. Based on
> installation instruction, I set
> path and ant_home on .profile. Now I got the
> following error while I typed
> ant -version.
> 
> java.lang.InstantiationException:
> org.apache.tools.ant.Main
>         at
> java.lang.Class.newInstance0(Class.java:291)
>         at
> java.lang.Class.newInstance(Class.java:259)
>         at
>
org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
>         at
>
org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
>  
> 
> I do not have any crimson.jar or other XML parsers
> in JRE/ext  and I did set
> classpath for ant as it dose not need.
> 
> Do I need to reboot the Unix box? What else did I
> miss? Thank you for your
> help.
> 
> Kathy
> 



	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message