Apache ant – fixing “can’t locate tools.jar” error

3 Jun

If you have “can’t locate tools.jar” error when trying to run “ant”, you’ve come to the right place. The fix is apparently very easy, you have to properly set up the “JAVA_HOME” environment variable to Java JDK. The tools.jar is found in the bin folder of the JDK but you only need to point the JAVA_HOME to your JAVA SDK installation and you should be all set!

Easy, right? Go get them!

Related posts:

  1. BlackBerry development with Eclipse plugin – fixing corrupted *.jdp file
  2. How to speed up Eclipse on OS X 10.6 Snow Leopard
  3. Some web server administration tips on CentOS and cPanel (but not only)
  4. BlackBerry Eclipse plugin 1.1 will fix some of the annoying problems

blog comments powered by Disqus