Advertisement


Advertisement

Thread Rating:
  • 9 Vote(s) - 2.56 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to: Install Java Runtime Environment (JRE) in Ubuntu 9.04 (Jaunty)
Advertisement
#1
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.

[Image: 2efomz7.png]

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.

[Image: v4oz8i.png]

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

[Image: 20qn891.png]

Testing Java Plugin for Firefox

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

[Image: 2cid753.png]

Reply
Thanks given by:
Advertisement
Advertisement




Possibly Related Threads…
Thread Author Replies Views Last Post
  General News: How to Install Windows OS on Android Phone nairrk 0 801 12-09-2017, 10:20 AM
Last Post: nairrk
  General News: macOS High Sierra update now rolling out; how to install, features and all... nairrk 0 602 09-26-2017, 10:53 AM
Last Post: nairrk
  General News: Microsoft Windows 10 Anniversary Update starts rolling out; here how to install now rahul1117_kumar 0 540 08-04-2016, 10:46 AM
Last Post: rahul1117_kumar
  General News: Google Now Lets You Install Apps Directly From Search Results nairrk 0 691 01-19-2016, 01:11 PM
Last Post: nairrk
  General News: Windows 10 Upgrade Could Install 'Automatically' if You Aren't Careful nairrk 0 954 10-17-2015, 09:37 AM
Last Post: nairrk
  General News: Android Marshmallow rolls out: Here’s how you can install it on Nexus 5, 6 etc.. nairrk 0 620 10-06-2015, 11:48 AM
Last Post: nairrk
  General News: Xiaomi MIUI 7 Beta ROM is now available, here’s how to install it nairrk 0 840 08-24-2015, 06:10 PM
Last Post: nairrk
  General News: How to install Android 6.0 Marshmallow Google Now Launcher on your smartphone nairrk 0 758 08-19-2015, 07:42 PM
Last Post: nairrk
  General News: Intel Compute Stick now comes with Ubuntu SRK 0 768 07-02-2015, 08:20 PM
Last Post: SRK
  Samsung to pre-install Microsoft apps in Android tablets SRK 0 649 03-24-2015, 12:58 PM
Last Post: SRK

Forum Jump:


Users browsing this thread: 1 Guest(s)
Advertisement