Linux Thing Here

Linux For All of You

Install java on Ubuntu or Kubuntu (Linux)

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

  1. sun-java6-bin – Contains the binaries
  2. sun-java6-demo – Contains demos and examples
  3. sun-java6-doc – Contains the documentation
  4. sun-java6-fonts – Contains the Lucida TrueType fonts from the JRE
  5. sun-java6-jdk – Contains the metapackage for the JDK
  6. sun-java6-jre – Contains the metapackage for the JRE
  7. sun-java6-plugin – Contains the plug-in for Mozilla-based browsers
  8. sun-java6-source – Contains source files for the JDK

First: Installation

  1. Open Konsole/Terminal
  2. Type this: sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
  3. 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

Second: Checking

  • 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

Thanks!

Reference: http://ubuntuforums.org/showthread.php?t=422692

8 responses to “Install java on Ubuntu or Kubuntu (Linux)

  1. andhee July 24, 2010 at 7:34 pm

    aiiiyyy..everything is english…
    where is indonesian??

  2. fraggle November 10, 2010 at 10:08 pm

    thank you soo much🙂

  3. Erik July 1, 2011 at 5:04 am

    it doesnt work. my output is:

    erikdecker@ubuntu:~$ sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Package sun-java6-jre is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    Package sun-java6-fonts is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    Package sun-java6-plugin is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package ‘sun-java6-jre’ has no installation candidate
    E: Package ‘sun-java6-plugin’ has no installation candidate
    E: Package ‘sun-java6-fonts’ has no installation candidate
    erikdecker@ubuntu:~$

    or any
    i dont understand i do not have openJDK installed or any other java. please help

  4. manu August 31, 2011 at 7:04 pm

    Getting the same error as Erik above me. Running Kubuntu 11.04

  5. fragallia September 1, 2011 at 6:09 pm

    use this command to update repositories:

    sudo add-apt-repository “deb http://archive.canonical.com/ubuntu lucid partner”

  6. craigdm84@yahoo.com September 30, 2011 at 3:03 pm

    Give me windows back! This kubuntu is the gayest thing iver ever seen.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: