'tools.jar' is not in IDEA classpath
Be sure you have a JDK installed on your system.
sudo apt-get install openjdk-7-jdk
If that does not solve your problem, you must tell your system to use that JDK instead of the current JRE. To do so, you choose which JDK/JRE you use by default on your system by executing the following command in terminal.
sudo update-alternatives --config java
This command will give you a list of alternative java options, which you will then be able select a JDK instead of JRE.
On my Linux Mint environment I've encountered the same problem. I tried to install Oracle JDK8 using
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
but the problem remained because installer didn't change environment variables. Then I tried the following
sudo apt-get install oracle-java8-set-default
and it solved the problem