You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Amulya Yadav <am...@gmail.com> on 2012/07/18 11:13:34 UTC

Ant not installing correctly

Hi,

When I try to run ant, it gives me the following error:

java.lang.NullPointerException
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:267)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

My ANT_HOME=~/apache
and my PATH=${ANT_HOME}/bin:$PATH

and my JAVA_HOME is also nicely set

What else could be going wrong?

Thanks,
Amulya



-- 
Don't be afraid to fall down, because the harder you hit the bottom, the
higher you'll bounce back!!

Re: Ant not installing correctly

Posted by Nicolas Lalevée <ni...@hibnet.org>.
Le 18 juil. 2012 à 11:13, Amulya Yadav a écrit :

> Hi,
> 
> When I try to run ant, it gives me the following error:
> 
> java.lang.NullPointerException
>        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:267)
>        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
> 
> My ANT_HOME=~/apache
> and my PATH=${ANT_HOME}/bin:$PATH
> 
> and my JAVA_HOME is also nicely set
> 
> What else could be going wrong?

What version are you trying to run ?

Nicolas


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