Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2007
    Location
    United Kingdom
    Posts
    3,011

    Default How to get Java working in Opera Ubuntu 11.04/11.10

    First, uninstall the Icedtea Java plugin from the Ubuntu Software Center. Then open a Terminal window and enter the following command one by one:

    Code:
    sudo add-apt-repository ppa:ferramroberto/java
    sudo apt-get update
    sudo apt-get install sun-java6-jre sun-java6-plugin
    Note: The sun-java6-jre and sun-java6-plugin packages are as far as I know, out of date so use at your own risk and responsibility. However, I can confirm they work in Opera perfectly! Simply restart Opera and the plugin should be detected automatically.

    Explanation of the commands above:

    Code:
    sudo add-apt-repository ppa:ferramroberto/java
    Adds a repository (a source that is added to a list on Ubuntu) to download the packages (applications).

    Code:
    sudo apt-get update
    Updates to also include the new repository added. You must do this each time a new repository is added, even when using the graphical user interface of APT (Synaptic Package Manager, which in 11.10 needs to be installed via the Ubuntu Software Center).

    Code:
    sudo apt-get install sun-java6-jre sun-java6-plugin
    Installs the runtime environment and the plugin for the JRE to be used within web browsers.

    Why does the IcedTea plugin not work in Opera?

    I believe it is because it only appears to work in Firefox from searching around about the IcedTea plugin.

    How do I remove the added repository in the future?

    Check the following file first to remove it:

    Code:
    sudo gedit  /etc/apt/sources.list
    If it isn't listed there, it would be in:

    Code:
    sudo gedit  /etc/apt/sources.list.d
    How do I uninstall packages?

    Code:
    sudo apt-get remove package_name
    Make sure you remove both the JRE and the plugin when and if you do in the future, obviously.

    External references for your interest:

    Java Virtual Machine - Wikipedia, the free encyclopedia - JRE (Java Runtime Environment) is the virtual machine and the plugin makes it work in Opera.
    Domains Registrations @ £7.49pa! - Download the official eUKhost Android and iOS App!

    eNlight Cloud Hosting - Cost-Effective, Autoscaling Cloud Hosting
    How does eNlight work? What differences and benefits are there to VPS and Dedicated Servers?

    Chat to us on Twitter!
    Join our incentive affiliate program now - and earn generous commission with each sale!

    How do I contact eUKhost?
    Support: Client Area - 0808 262 0455
    Sales: sales[@]eukhost.com - 0800 862 0380
    Contact eUKhost Management

    Customer Relations:
    feedback@eukhost.com - 0808 262 0255

    Contact:
    ben@eukhost.com
    Skype: euk_ben
    Windows Live Messenger: ben@eukhost.com


    Don't ever let other people's thoughts, feelings, perceptions and/or opinions drown over yours. You know yourself the best. Go with what you think is right. Everyone else's opinions or statements about you or others are secondary.

  2. #2
    Join Date
    Sep 2011
    Posts
    29

    Default

    A shorter way to fix this is to run this on the terminal.
    Code:
        sudo apt-get install sun-java6-fonts sun-java6-jre sun-java6-plugin ubuntu-restricted-extras
    Just saw it on UbuntuGeek's website.
    Services geared towards success. Chicago Data Center

  3. #3
    Join Date
    Jan 2007
    Location
    United Kingdom
    Posts
    3,011

    Default

    Quote Originally Posted by mischayahd View Post
    A shorter way to fix this is to run this on the terminal.
    Code:
        sudo apt-get install sun-java6-fonts sun-java6-jre sun-java6-plugin ubuntu-restricted-extras
    Just saw it on UbuntuGeek's website.
    Hi,

    I believe the sun-java-* packages are no longer found in the default repositories, which is why I suggested adding the third party repository in the original post.

    Regards,
    Ben.
    Domains Registrations @ £7.49pa! - Download the official eUKhost Android and iOS App!

    eNlight Cloud Hosting - Cost-Effective, Autoscaling Cloud Hosting
    How does eNlight work? What differences and benefits are there to VPS and Dedicated Servers?

    Chat to us on Twitter!
    Join our incentive affiliate program now - and earn generous commission with each sale!

    How do I contact eUKhost?
    Support: Client Area - 0808 262 0455
    Sales: sales[@]eukhost.com - 0800 862 0380
    Contact eUKhost Management

    Customer Relations:
    feedback@eukhost.com - 0808 262 0255

    Contact:
    ben@eukhost.com
    Skype: euk_ben
    Windows Live Messenger: ben@eukhost.com


    Don't ever let other people's thoughts, feelings, perceptions and/or opinions drown over yours. You know yourself the best. Go with what you think is right. Everyone else's opinions or statements about you or others are secondary.

  4. #4
    Join Date
    Apr 2007
    Location
    Manchester, United Kingdom
    Posts
    8,440

    Default

    Nice comprehensive tutorial . Thank you Ben .
    David Smith
    DPS Computing
    http://www.dpscomputing.com (Computing, Reviews, News) - We're still plodding on adding new content and features (August 2011)
    http://www.djdavid.co.uk - Massive update! (September 2011) - It's now not neglected!!
    http://davidsmith.dpscomputing.com (My Personal Website) - New Site (10/2009)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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