September 19, 2012

Updating ant tools.jar not found

Turns out, the openjdk-6 that comes installed on Linuxmint contains an error that causes ant to bitch bout a missing tools.jar file! Luckily this file is shipped with openjdk-7 ;)


Basically you'll need to installs openjdk-7 and then update the alternatives

sudo aptitude install openjdk-7
sudo update-alternatives --config java

select openjk-7 option and then remove the old java stuff

sudo aptitude remove openjdk-6


Refs:
https://help.ubuntu.com/community/Java
http://ubuntuforums.org/showthread.php?t=1977619

No comments: