Monday, May 30, 2011

ANT getting error to locate tools.jar

When I was using the below command to check the version of ANT
ant -version

I was getting the following error.

Unable to locate tools.jar. Expected to find it in C:\java\jre6\lib\tools.jar


To resolve the issue, I have copied the tools.jar file from C:\jdk160_21\lib to C:\java\jre6\lib\ and it worked for me.

No comments:

Get function name programaticaly - Python

This little piece of code will help you to get the function name programatically. This is very helpful when you are implementing the debug...