First, uninstall the Icedtea Java plugin from the Ubuntu Software Center. Then open a Terminal window and enter the following command one by one:
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.Code:sudo add-apt-repository ppa:ferramroberto/java sudo apt-get update sudo apt-get install sun-java6-jre sun-java6-plugin
Explanation of the commands above:
Adds a repository (a source that is added to a list on Ubuntu) to download the packages (applications).Code:sudo add-apt-repository ppa:ferramroberto/java
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 update
Installs the runtime environment and the plugin for the JRE to be used within web browsers.Code:sudo apt-get install sun-java6-jre sun-java6-plugin
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:
If it isn't listed there, it would be in:Code:sudo gedit /etc/apt/sources.list
How do I uninstall packages?Code:sudo gedit /etc/apt/sources.list.d
Make sure you remove both the JRE and the plugin when and if you do in the future, obviously.Code:sudo apt-get remove package_name
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.



Reply With Quote



. Thank you Ben 