Install java on Ubuntu or Kubuntu (Linux)
July 24, 2010
Posted by on
Well, in this post I will explain how to install Java on Kubuntu. In the installation process does not require us to edit some files, as I will explain the methods are not manually. we only need Internet access is fast enough so that the installation process goes well. If not, you’ll be sorry fufuufufufuf.
How to Install Java on Kubuntu:
We will now install the following Java packages
- sun-java6-bin – Contains the binaries
- sun-java6-demo – Contains demos and examples
- sun-java6-doc – Contains the documentation
- sun-java6-fonts – Contains the Lucida TrueType fonts from the JRE
- sun-java6-jdk – Contains the metapackage for the JDK
- sun-java6-jre – Contains the metapackage for the JRE
- sun-java6-plugin – Contains the plug-in for Mozilla-based browsers
- sun-java6-source – Contains source files for the JDK
- Open Konsole/Terminal
- Type this: sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
- Get ready because we will download repository 29.4 MB/36.2 MB size.
*By typing the command above we do not need to install the files over one by one.
Then, It will show on your Console Layer
Just agree with them all
- We should check that Java have already installed. Type this on Console: java -version
Then something appear on Console:
java version “1.6.0_20”
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
- Check it again in Firefox, is it working or not:
Type: about:plugins on Adress bar, so it will appear:
When your firefox screen display like the one above means you have successfully installed Java in Linux. If not, repeat the steps above, you may pass through several sections.
if you want try manually, check this