LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Cannot get java plugin to work with firefox (https://www.linuxquestions.org/questions/ubuntu-63/cannot-get-java-plugin-to-work-with-firefox-482898/)

mike_savoie 09-12-2006 06:34 PM

Cannot get java plugin to work with firefox
 
Hi, I just installed ubuntu. I'm new to ubuntu but not to linux. Anyway, try as I might I can't get the java plugin to work with firefox. I downloaded the self extracting bin from sun, then I followed the directions on the sun site for installation, that went fine, when I tried the enable and configure and all seemed to go fine. The symlink is setup fine as well.

I try about:plugins and nothing. Any other ideas?

rickh 09-12-2006 06:43 PM

Setting up Java on Debian, and I suspect Ubuntu, is a little bit different than other Distros. The easy solution is to install the Sun Java package from the Ubuntu repositories.

As a Slacker type, it may be that you prefer the old fashioned way. (I do, and I'm not even a Slackware enthusiast.)

Brian1 09-12-2006 06:52 PM

Are you linking the plugin in the correct directory?
Are you putting in the mozilla or the one for Firefox?
Reason I ask if using the default /usr/lib/mozilla/plugins this may not work. I am not 100percent sure but it depends on how certain things are configured.
Post the command you used to do the link?

Brian1

mike_savoie 09-12-2006 07:38 PM

This is the command I used to make the link.

Quote:

mike@mike-desktop:~$ sudo ln -s /usr/java/jre.5.0_06/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla-firefox/plugins/libjavaplugin_oji.so
I followed the old fashioned way link...how do I remove the other versions? A

rickh 09-12-2006 08:27 PM

Quote:

how do I remove the other versions
Java installs in one directory, so whereever that directory is, remove it. Also remove the link you made. You might also want to do a "locate" on gij, in case something you've installed brought that along.

Brian1 09-13-2006 05:12 PM

Just to make sure. If there was a link already there and you used that command then it would not take place. You need to use -f option to force the overwrite. ln command is one strange command it says no problems even if there is and existing link present. It does not overwrite and it will not show and error when you run the command. So you need to delete the link first or use the -f option with the ln command.

Brian1


All times are GMT -5. The time now is 05:06 AM.