Ubuntugeek posted a guide about installing JRE on ubuntu 11.10
Java is an object-oriented programming language developed by Sun Microsystems in the early 1990s. Java applications are compiled to bytecode, which at runtime is either interpreted or compiled to native machine code for execution.Install JRE on Ubuntu 11.10 (Oneiric)