Monday, February 28, 2011

Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk/lib/tools.jar

When running my 'ant' script I get the following error:


Unable to locate tools.jar.
Expected to find it in /usr/lib/jvm/java-6-openjdk/lib/tools.jar


To solve it, I need to install java-sdk:


sudo apt-get install openjdk-6-jdk

1 comment: