Mar
14
Install Java Plugin on Ubuntu Firefox
March 14, 2008 |
Java is a must-have to everybody. Expecially if you are a web surfer.
If you have the universe and multiverse repositories enabled, to install Java is really easy.
The Ubuntu developers have separated the Java components into several packages:
sun-java5-bin
Contains the binaries
sun-java5-demo
Contains demos and examples
sun-java5-doc
Contains the documentation
sun-java5-fonts
Contains the Lucida TrueType fonts from the JRE
sun-java5-jdk
Contains the metapackage for the JDK
sun-java5-jre
Contains the metapackage for the JRE
sun-java5-plugin
Contains the plug-in for Mozilla-based browsers
sun-java5-source
Contains source files for the JDK
Installing the Java Runtime Environment
Simply open a terminal window and apt-get the package. Since you are going to be installing the JRE and the web browser plug-in, you’ll be using the following command from a terminal window:
sudo apt-get install sun-java5-jre sun-java5-plugin sun-java5-fonts
Once apt-get downloads the packages and begins the installation, you’ll get a screen that contains the Sun Operating System Distributor License for Java. Read the license, if you wish, and hit Enter to continue. You’ll see a dialog that asks you if you agree with the DLJ license terms. Select Yes, and hit Enter; the JRE will finish installing.At this point, Java is installed.
Confirming the Installation
You’ll want to confirm that your system is configured properly for Sun’s JRE. This is a two-step process. First, check that the JRE is properly installed by running the following command from a terminal. You should get similar
output:shi@shilaptop:~$ java -version
java version “1.5.0_06″
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
If the JRE is properly installed, confirm that the Java plug-in is installed in your browser by opening Firefox and typing about:plugins in the address bar. You should see something like the image below:
![]() |
If you see an unexpected version of Javain particular, one identified as “gij (GNU libgcj)”then you probably have GNU Java installed. You can easily switch from one Java to another with the command sudo update-alternatives –config java, which will prompt you to choose which Java implementation to use. Pick the one in /usr/lib/jvm to use the JRE you just installed.
Credit: Ubuntu Hacks by O’reilly
Similar Posts
- Install BitTorrent GUI Azureus on Ubuntu
- Create Compile and Run .NET on Ubuntu
- Play iTunes m4a Files on Linux Ubuntu
- Install and Configure Wine on Ubuntu
- Ubuntu Best CHM Viewer
- Linux Ubuntu Install Setup PHP cURL
- Install and Use Audacity on Ubuntu
- Ubuntu Hardy Broadcom Wireless Setup
- Transfer music mp3 to and from iPod Ubuntu
- Install and Configure LAMP on Ubuntu
- Install and Use Skype on Ubuntu
- Install Adobe AIR for Linux Beta on Ubuntu
- Ubuntu Convert Ogg Flac to mp3
- Install and Play Enemy Territory Quake Wars on Ubuntu
- Burn Blu-Ray Disc on Ubuntu
- Install and Configure phpMyAdmin on Ubuntu LAMP
- Install Run and Play Doom 3 on Ubuntu
- Install and Play Counter Strike on Ubuntu
- Install IE6 using IEs 4 Linux on Ubuntu
- Ubuntu Configure Disable Touchpad
- Ubuntu Seperate Audio From Video
- Make Acer Extensa headphone speakers Work on Ubuntu
- Install and Play Diablo II on Ubuntu
- Open VCD Using VLC on Ubuntu
- Install Flash CS on Ubuntu
- Install and Play Quake III Arena on Ubuntu
- Install Photoshop on Ubuntu
- Ubuntu Upgrade From Gutsy to Hardy Problem Fix
- Ubutu Root Password
- Switch Ubuntu Server to Desktop
- Install Google Earth on Ubuntu
- Install and Play Unreal Tournament on Ubuntu
- Install and Play Quake 4 on Ubuntu
- Virus on Ubuntu Wine
- Create a Subdomain Virtual Host on Ubuntu
- Use aMule as eMule alternative on Ubuntu
- Ubuntu 7.10 Gutsy - Add Universe Multiverse Repositories
- Play iPod music on Ubuntu
- Install and Play Red Alert 2 on Ubuntu
- Amarok audio output unavailable the device is busy Solution
- Connect Ubuntu to Printer
- Install and Play Quake 2 on Ubuntu
- Ubuntu Nvidia Refresh Rate Problem
- Make Acer Extensa 4620Z Wireless Work on Ubuntu
- Manage Ubuntu Repository
- Burn Audio CD on Ubuntu
- Manipulate Files Directories using Unix Shell
- Assign Change Ubuntu Keyboard Shortcuts
- Install and Run RealPlayer on Ubuntu
- Ubuntu Change Keyboard Shortcut
Comments
1 Comment so far




































[...] updates, and a dedicated development team. Before you can use the program, however, you need to install Java, since Azureus requires it. (Sun’s licensing, however, makes it impossible for Ubuntu to [...]