Is it possible to install java on my Raspberry Pi? If it is what are the commands I need to execute to install java?
In newer distributions, Java is already installed so you might find you already have it. If all else fails, try:
sudo apt-get update && sudo apt-get install oracle-java7-jdk