In normal Ubuntu CD installation, jre is not installed by default. Even with Ubuntu Ultimate, openjdk6-jre is installed instead of sun-java6-jre
This is usually giving raise to a problem in firefox while opening the sites which contain java-applets. The usual error message that is displayed in the status bar on the left bottom corner is:
Start: Applet not initialized.
To resolve this error one need to install
sun-java6-jre. For that;
open sources.list file as super-user. For this,
press Alt+F2 to open run command then enter the following and click on Run
gksudo gedit /etc/apt/sources.list
For Ubuntu 9.10 and below:
Check whether the multiverse repository is enabled or not
ie; There should not be any "#" symbol before the following four lines:
deb http://in.archive.ubuntu.com/ubuntu/ your_distribution multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ your_distribution multiverse
deb http://in.archive.ubuntu.com/ubuntu/ your_distribution-updates multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ your_distribution-updates multiverse
Here your_distribution will be any one of karmic or jaunty or intrepid or hardy or edgy or dapper etc...
If those lines are not found, Please enter them manually. If they are found, please remove the # symbol (if any) before them...
save and close the file...
For Ubuntu 10.04 and above:
Check whether the canonical-partner repository is enabled or not.
ie; There should not be any "#" symbol before the following four lines:
deb http://archive.canonical.com/ubuntu your_distribution partner
deb-src http://archive.canonical.com/ubuntu your_distribution partner
Here your_distribution will be any one of lucid or maverick or natty etc...
If those lines are not found, Please enter them manually. If they are found, please remove the # symbol (if any) before them...
For Ubuntu 11.10 and above:
From Ubuntu 11.10 sun-java6 has not been added in canonical. Hence one has to add a previous version repositories to the sources.list file.
deb http://archive.canonical.com/ubuntu natty partner
deb-src http://archive.canonical.com/ubuntu natty partner
save and close the file...
After this;
For all UBUNTU distributions:
Now open the terminal from Applications --> Accessories --> Terminal.
and enter the following commands...
If you are behind a proxy server, use the following tutorial to do proxy settings:
http://conquer-ur-computer.blogspot.com/2010/12/proxy-settings-in-linux-ubuntu-and.html
Open the terminal from Applications --> Accessories --> Terminal and enter the following.
For 64-bit system:
sudo ln -s /usr/lib/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so /usr/lib/mozilla/plugins/libnpjp2.so
sudo ln -s /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/libnpjp2.so
For systems behind authenticated proxy, one can see...
This is usually giving raise to a problem in firefox while opening the sites which contain java-applets. The usual error message that is displayed in the status bar on the left bottom corner is:
Start: Applet not initialized.
To resolve this error one need to install
sun-java6-jre. For that;
open sources.list file as super-user. For this,
press Alt+F2 to open run command then enter the following and click on Run
gksudo gedit /etc/apt/sources.list
For Ubuntu 9.10 and below:
Check whether the multiverse repository is enabled or not
ie; There should not be any "#" symbol before the following four lines:
deb http://in.archive.ubuntu.com/ubuntu/ your_distribution multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ your_distribution multiverse
deb http://in.archive.ubuntu.com/ubuntu/ your_distribution-updates multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ your_distribution-updates multiverse
Here your_distribution will be any one of karmic or jaunty or intrepid or hardy or edgy or dapper etc...
If those lines are not found, Please enter them manually. If they are found, please remove the # symbol (if any) before them...
save and close the file...
For Ubuntu 10.04 and above:
Check whether the canonical-partner repository is enabled or not.
ie; There should not be any "#" symbol before the following four lines:
deb http://archive.canonical.com/ubuntu your_distribution partner
deb-src http://archive.canonical.com/ubuntu your_distribution partner
Here your_distribution will be any one of lucid or maverick or natty etc...
If those lines are not found, Please enter them manually. If they are found, please remove the # symbol (if any) before them...
For Ubuntu 11.10 and above:
From Ubuntu 11.10 sun-java6 has not been added in canonical. Hence one has to add a previous version repositories to the sources.list file.
deb http://archive.canonical.com/ubuntu natty partner
deb-src http://archive.canonical.com/ubuntu natty partner
save and close the file...
After this;
For all UBUNTU distributions:
Now open the terminal from Applications --> Accessories --> Terminal.
and enter the following commands...
sudo apt-get update
sudo apt-get install sun-java6-pluginIf you are behind a proxy server, use the following tutorial to do proxy settings:
http://conquer-ur-computer.blogspot.com/2010/12/proxy-settings-in-linux-ubuntu-and.html
Open the terminal from Applications --> Accessories --> Terminal and enter the following.
For 64-bit system:
sudo ln -s /usr/lib/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so /usr/lib/mozilla/plugins/libnpjp2.so
For 32-bit system:
sudo ln -s /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/libnpjp2.so
That's it...
You can enjoy the feature of java-applets...For systems behind authenticated proxy, one can see...
Don't worry; While arriving at this window, the browser may hang hang for a few seconds...
Cheers.....
Dein eigener Blog kostenlos. Jetzt gratis Blog einrichten und endlich selbst los bloggen
ReplyDeleteVisit http://http://www.ison.at/freeman79/?p=4&preview=true
how to make a bootable pendrive
ReplyDeleteVisit DigitalOriginality
123.hp.com/setup 3755
ReplyDelete123.hp.com/setup 8035
123.hp.com/setup 7855
123.hp.com/setup 3830
After I initially commented I clicked the -Notify me when new feedback are added- checkbox and now every time a comment is added I get four emails with the same comment. Is there any way you may remove me from that service? Thanks! apple kundenservice berlin
ReplyDelete