当我在vagrant + ubuntu 14.04,jenkins ant执行项目的build.xml时,提示:
[workspace] $ ant -file build.xml Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-7-openjdk-i386/lib/tools.jar Buildfile: /var/lib/jenkins/jobs/ibeauty-to-dev/workspace/build.xml
解决方法是安装openjdk-7-jdk 包,如:
sudo apt-get install openjdk-7-jdk