In Windows 7 I had to install jdk & jre to program with eclipse. In the software center I can only find OpenJDK Java 7 Runtime. Do I need both to program in eclipse?
Open up your terminal and type:
You will have to install it if your program is not found. Take a look at these instructions:
A simpler way for beginners is to install oracle JDK via a PPA : http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
Just three lines, copy-pasted will give you the desired functionality