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. 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. 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.
0 Comments
Leave a Reply. |