

Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing) Java(TM) SE Runtime Environment (build 1.6.0-b105) This is a two-step process.įirst, check that the JRE is properly installed by running the following command from a terminal. You'll want to confirm that your system is configured properly for Sun's JRE. Select Yes, and hit Enter the JRE will finish installing. You'll see a dialog that asks you if you agree with the DLJ license terms. 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.
#Install java for firefox ubuntu install
Sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts 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 Sun-java6-source - Contains source files for the JDKįirst you need to check multiverse repository enabled or not after that open a terminal window. Sun-java6-plugin - Contains the plug-in for Mozilla-based browsers Sun-java6-jre - Contains the metapackage for the JRE Sun-java6-jdk - Contains the metapackage for the JDK Sun-java6-fonts - Contains the Lucida TrueType fonts from the JRE Sun-java6-doc - Contains the documentation Sun-java6-demo - Contains demos and examples JavaScript, a scripting language, shares a similar name and has similar syntax, but is not directly related to Java.Ĭurrently Ubuntu has the following Java packages

The language itself derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities.
#Install java for firefox ubuntu code
Java applications are compiled to bytecode, which at runtime is either interpreted or compiled to native machine code for execution. Java is an object-oriented programming language developed by Sun Microsystems in the early 1990s.
