Install Java Runtime Environment (JRE) in Ubuntu 9.10 (Karmic

Java is an object-oriented programming language developed by Sun Microsystems in the early 1990s. Java applications are compiled to bytecode, which at runtime is either interpreted or compiled to native machine code for execution.

The language itself derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities. JavaScript, a scripting language, shares a similar name and has similar syntax, but is not directly related to Java.

Currently Ubuntu has 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

Installing the Java Runtime Environment

First you need to check multiverse repository enabled or not after that open a terminal window. 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

sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts

Once it downloads the packages and begins the installation, you’ll get a screen that contains the Sun Operating System Distributor License for Java and hit Enter to continue.

1

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.

2

Testing Java Runtime Environment

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.

java -version

You should get similar output

3

Testing Java Plugin for Firefox

open Firefox and typing about:plugins in the address bar and check for java plugin

4

4 thoughts on “Install Java Runtime Environment (JRE) in Ubuntu 9.10 (Karmic

  1. Hi…
    Here are some packages are given for the JRE Installation in Ubuntu….
    Currently Ubuntu has 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

    Apart from that use the following code in terminal to test the JRE…
    root@username-desktop:-#java -version
    java version “1.6.0_15″
    Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
    Java HotSpot(TM) client VM (build 14.1.-b02,mixed mode, sharing)
    root@username-desktop:-#
    Anyway Thanks for sharing this information here…!!

  2. Hands down, Apple’s app store wins by a mile. It’s a huge selection of all sorts of apps vs a rather sad selection of a handful for Zune. Microsoft has plans, especially in the realm of games, but I’m not sure I’d want to bet on the future if this aspect is important to you. The iPod is a much better choice in that case.

Leave a Reply

Your email address will not be published. Required fields are marked *

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image