Problem scenario
You are running Ant and you get this error:
"Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager"
What should you do?
Solution
Uninstall Ant (e.g., sudo apt-get -y remove ant
). Install the latest version of Ant. If you need directions, see this posting as it works on any distribution of Linux.