Java is a language that is based on the object oriented technology that has 6.5 million software working on it around the world.It is used in the devices like laptop, cell phones, game console and also on the internet technology. Latest release of Ubuntu makes the installation process and enables Java in the Firefox very easily. You can read How Do I Enable Java Applets in Firefox?
1.Permit the Ubuntu “Multiverse” repositories. Now click on the Ubuntu menu, go to “System”, then “Administration” and then go to “Software Sources”.Now enter the required credentials and then check every folder inside the “Downloadable from the Internet”. Now click on the “Close” option to save the system settings.
2.Click on the Ubuntu menu and then go to “Accessories” and then click on the “Terminal”. Now type “sudo apt-get update” and “sudo apt-get install sun-java6-jre-sun-java6-plugin sun-java6-fonts” at the prompt text box.Then press “Enter” Key.
3.Enter password when asked and then click “Enter” to move further. Select the option “Yes” when asked you for the agreement of Sun Java licensing.Press “Enter” now to finish the installation of Java and other required software.
4.Now Java testing is required on Ubuntu. Start a terminal now and type “java-version” and press “Enter” key. Now you will observe the screen with the information like, “java version 1.6.0_11, Java(TM) SE Runtime Environment (build 1.6.0_11-d28), Java HotSpot (TM) Client VM (build11.0-b28, mixed mode, sharing)”. Close the window now.
5.Check the Java installation in the Firefox now. Launch the Firefox, then go to the “Tools” and then select the “Add-ons” option. Now click on the “Plugins” option. If Java is installed on your system then it will show an entry like "Java(TM) Plug-in 1.6.0_10-b33". Now close this window.
6.Now visit the official website of the Sun Java Test page. Within in few seconds, an animated character will roam on your screen if the Java is working perfectly on the Firefox.Then it give the result of the test like the operating system type (Linux) and your Java build version.