1

Following command ant -version is throwing error Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk-amd64/lib/tools.jar

screen shot:

du@ubuntu-pc:~/workspace/alfresco/HEAD/root/projects$ ant -version
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk-amd64/lib/tools.jar

I do have my JAVA_HOME configured. And java -version does run without any issue

1

1 Answer 1

1

I was able to run ant successfully by installing the default JDK as follows:

apt-get install default-jdk

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .