Check Java on Linux

Open a Terminal Window and run

java -version
This should return something like
Java(TM) 2 Runtime Environment, Standard Edition (build 1.7)
If the build number is less than 1.7_0_09 you will need to install a later version of Java. If it returns
-bash: java: comand not found
This means that either it is not installed or you havent set up your paths properly check by looking at the installed program list, or type
whereis java
if it finds java installed on your computer add it to your path i.e. whereis java returns
/usr/local/java/j2sdk-1.7.0_09/bin.
you should add
export PATH=$PATH:/usr/local/java/j2sdk-1.7.0_09/bin