[Ubuntu] Install ant 1.8 on Ubuntu 12.10 ( from repo)


– Make sure you have set JAVA_HOME env. variable before. For my case, I’m having open-jre and open-jdk install.

I need to append to file /etc/profile one more line

export JAVA_HOME=”/usr/lib/jvm/java-1.7.0-openjdk-i386;”

Save and we’re done with JAVA_HOME variable.


install ant from repo with:

sudo apt-get install ant

Let’s test, type into terminal   ant -version

>> Apache Ant(TM) version 1.8.2 compiled on May 18 2012

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: