This question already has an answer here:
- How do I install Java? 11 answers
this is my first time using linux ubuntu. I'm trying to install java, i downloaded the file from the java website, extracted the file to the desktop and the extracted file's name now is jre1.7.0_45
i'm following this to install the java http://www.wikihow.com/Install-Java-on-Ubuntu
but omg i can't even get past number 2. i get
Reading package lists... Done Building dependency tree E: Unable to locate package openjdk-7-jre
how can i do this please?