Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-sun-1.6.0.26/lib/tools.jar

I am trying to build jasperserver on linux. It uses ant and maven. While executing the ant command it gives this exception. I checked on the same path however the lib folder is not there at the same path. How can I resolve this issue?

Thanks!!

like image 958
DMS Avatar asked Jan 13 '12 13:01

DMS


2 Answers

tools.jar is present only in jdk, not jre.

like image 66
Vadzim Avatar answered Nov 12 '22 00:11

Vadzim


I have fixed this issue by installing jdk..

Thanks to all for reply ..

like image 2
DMS Avatar answered Nov 11 '22 23:11

DMS