How to Enable Java in Ubuntu Linux
The Java JRE (Java Runtime Environment) is used to run Java applets and programs. Java JRE is a proprietary application freely available from Sun Microsystems for the Linux, Unix, Mac OSX and Windows operating systems. Ubuntu Linux provides the ability to install the Java JRE from the Synaptic software repository or through the terminal. After installation, users will be able to run both stand-alone Java applications and web-based applets.
- Difficulty:
- Easy
Instructions
-
- 1 Open a terminal window where you will type the commands that follow.
- 2 Type the command "sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts" to download and install the sun-java packages. You can also open the Synaptic package manager from the Ubuntu desktop and select each package individually.
- 3 Accept the Sun Microsystems license agreement that will appear on the screen.
- 4 Type the command "java -version" to verify the installation.
- 5 Open the Firefox web browser.
- 6 Type "about:plugins" in the address bar and check for the Java plugin.
- 1