Results 1 to 2 of 2

Thread: How To Install java on Ubuntu 11.10

  1. #1
    Join Date
    May 2011

    How To Install java on Ubuntu 11.10

    Java is one of the most well-liked programming language in addition to its fame has undergone an exponential expansion (almost certainly since it’s well appropriate in distributed environment. you are able to use Java to develop cool web application in addition to some lot of complex features on top of in developing complicated desktop applications, furthermore it’s platform independent – ‘write once and run everywhere‘.likewise Ubuntu (most recent version : Ubuntu 11.10 beta 1) has turn out to be the most admired Linux distro – for desktop environment. The reason why, Ubuntu is at present considered as a immense platform for developing Java applications.

    anyhow, if you are an Ubuntu client and going to create learning Java or else a java programmer/developer – wish to start coding on Ubuntu, this post is concerning installing Java Development Kit (JDK) on Ubuntu 11.10 . even though it is predictable to labor on other Debian based Linux distro as well. conversely if you are an Ubuntu user, involved only in running java applications then there is no requirement to install jdk . it has lot of workings which is not necessary for executing a java program/software. in its place you just require to install jre on Ubuntu 11.10 i.e java runtime environment which comprises of Java Virtual Machine, by which you are able to execute java bytecode/class.

    Installing Java Development Kit (JDK) on Ubuntu
    There’re numerous JDK accessible these days. One of the most well-liked open source jdk is openjdk. OpenJDK is well compatible with Ubuntu/Linux and it is obtainable in official depository – so you are able to install it a click.

    So you need to install openjdk on Ubuntu 11.10
    Move in the terminal (Ctrl+Alt+t) followed by execution of the command(s) –
    sudo apt-get install openjdk-7-jdk
    you can also install sunjdk. Make a note of one thing that the sun jdk isn’t included with the official depository, as a result you initially require to add a PPA for that.

    sudo add-apt-repository ppa:ferramroberto/java
    sudo apt-get update
    sudo apt-get install sun-java6-jdk sun-java6-plugin
    if you are interested in installing Oracle Java(JDK) 7 in Ubuntu 12.04 Precise and 11.10 Oneiric, I need to add some more. Due to the latest Java license, Oracle JDK was detached from Ubuntu storage area along with it doesn’t be hosted in the PPA.If you wish for to making use of Oracle Java rather than OpenJDK Java Runtime in Ubuntu. You are able to make use of private PPAs that offers installer to routinely download Oracle Java JDK 7 from its official website as well as install it on your system.
    Installaling Java Runtime Environment (JRE) on ubuntu
    unlike to any other languages, Java applications are compiled to byte code, which is interpreted otherwise compiled to native machine code at the time of runtime. So the basic purpose of JRE is to provide libraries,Java virtual machine, as well as additional components essential for you to run applets furthermore applications written in the Java programming language. To install the Java Runtime Environment, first you require to open a terminal window followed by executing following command in it:
    sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
    It will take a some couple of minutes to download the packages and subsequent screen will appear when the installation starts on ,you need to then press Tab key to choose OK as well as at the next page choose Yes to consent with DLJ license terms.

    After the installation comes to an end,you might want to check the JRE is installed correctly,and then run following code at the terminal window in addition to you will be able to see something like this:

    java -version
    Enable Java and Java Plugins in Firefox/IE on Ubuntu

    java is an object-oriented programming platform which is used on a large variety of devices in addition to technologies, such as laptops, cell phones. It is also applied in game consoles and the internet. plus java plugins permit your web browser to run Java applets. So according to this one
    1. You first of all need to Launch Software Sources from System >>Administration and then moving further to Software Sources. You need to then check all checkboxes,You then need to open up a terminal window and install sun-java:
    sudo apt-get update
    sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
    and you can make use of this command to get java version information:
    java -version
    2.In firefox window,you then move to the Tools >>Add-ons, and then choose Plugins tab.If you have java installed in firefox,you will be able to see something like Java(TM) Plug-in 1.6.0_10-b33 present in the list.
    3.then in the firefox, check in the mentioned things. click Edit and then Preferences. ensure the boxes says “Enable Javascript” furthermore “Enable Java.” And then you will be with Advancedfor more configuration. Click them.

    4.if you are making use of internet explorer then click on Tools and then Internet Options. You then move to the “Security” tab and select it, click on “Custom Settings.” You will be able to see “Scripting for Java applets.” choose “Enable.”

  2. #2
    Join Date
    Nov 2009

    re: How To Install java on Ubuntu 11.10

    Install sun Java 6 using PPA on Ubuntu 11.10.

    Oracle has published an advisory regarding security matters in the version of Java at present in the partner archive. a number of these matters are at present being exploited in the wild.owing to the strictness of the safety risk, Canonical released a security update for the Sun JDK browser plugin which tends to disable the plugin on all machines. In the near prospect, Canonical will eliminate all Sun JDK packages from the Partner archive. This will be accomplished by pushing unfilled packages to the archive, with the intention that the Sun JDK will be removed from all clients machines when they will perform an software update. clients of these packages who have not migrated to an substitute answer will knowledge failures after the package updates have removed Oracle Java from the system. If you are interested in Install sun Java 6 using PPA on Ubuntu 11.10. open the terminal and run the following commands :
    sudo apt-add-repository ppa:flexiondotorg/java
    sudo apt-get update
    sudo apt-get install sun-java6-jre sun-java6-plugin

Similar Threads

  1. How to Install Java on Mac
    By Krishnaraju in forum Tips & Tweaks
    Replies: 2
    Last Post: 23-04-2012, 03:41 PM
  2. Unable to install java in Linux ubuntu 9.10
    By BluFFMast.ER in forum Operating Systems
    Replies: 3
    Last Post: 23-02-2012, 03:57 PM
  3. Formula1 vs. Java and Ubuntu 10.04 Firefox
    By Jitisha in forum Operating Systems
    Replies: 4
    Last Post: 11-11-2010, 10:53 AM
  4. ELOM java console, mounting virtual CDROM from Ubuntu
    By Kaalicharan in forum Operating Systems
    Replies: 6
    Last Post: 23-07-2010, 06:01 AM
  5. Install java in ubuntu
    By SoftWore in forum Operating Systems
    Replies: 2
    Last Post: 03-11-2009, 10:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts