Java Runtime Environment (1.5)
The following instructions are only for i386 and amd64 computers. For PowerPC machines, please look at the Ubuntu Wiki.
Install the sun-java5-bin package from the Multiverse repository (see the section called "Managing Repositories").
Some websites require the Java plugin for Mozilla Firefox. To install the java plugin, install the sun-java5-plugin package (for i386 machines) or the j2re-1.4-mozilla-plugin package (for amd64 machines) from the Multiverse repository.