SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm using Mozilla1-7 on Slackware 10. The problem i have now is i cant get my plugin to work, whenever i go onto a site that uses java that plug-in box pops up. I have j2re1.4.2_05 installed and i set the link as so
and i when i look in /usr/include/mozilla1-7/plugin/ and the file libjavaplugin_oji.so shows up but it doesnt work for the websites. I am lost, does anyone have any ideas or see something did wrong?
Looks good to me, assuming that your java is installed in the home dir. How about that comment about going into Mozilla and Edit/Preferences/Advanced/Enable Java?
Yeah i checked the preferences its already checked, when i type in what you posted even when i copy and paste it i get
Code:
root@EcCeNTrIc:~# ln -s /home/j2re1.4.2_05/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /path-to/mozilla/plugins/libjavaplugin_oji.so
ln: creating symbolic link `/path-to/mozilla/plugins/libjavaplugin_oji.so' to `/home/j2re1.4.2_05/plugin/i386/ns610-gcc32/libjavaplugin_oji.so': No such file or directory
You have to replace /path-to/ to the directory where mozilla directory is, like /usr/mozilla/plugins/
or /home/you/mozilla/plugins
search for mozilla directory and a plugins subdirectory inside it.
Well, I'm not running Slack, so things could be a bit different, but I've been setting this up successfully for both FC2 and SuSE 9.0. In my experience, the tutorial at the Sun Java site works fine...if you use the correct directories... First of all, I'd delete that link that doesn't work; then cd to the directory with the plugins (/usr/include/mozilla1-7/plugin) and then type in (ln -s /home/j2re1.4.2_05/plugin/i386/ns610-gcc32/libjavaplugin_oji.so)
If /home/j2re1.4.2_05 is correct, that puppy should work...at least in SuSE and FC2.....
What this shows is that in /usr/lib/mozilla-1.7/plugins/ there is a sybolic link named libjavaplugin_oji.so that points to the file /usr/lib/java/jre/plugin/i386/ns610-gcc32/lib/libjavaplugin_oji.so
so you could run (as root, so you have permissions) "ln -s /usr/lib/java/jre/plugin/i386/ns610-gcc32/lib/libjavaplugin_oji.so /usr/lib/mozilla-1.7/plugins/libjavaplugin_oji.so" and it should work. That will also make the change for all users as well, so you don't have to do that for each user. If you install Firefox, be sure to make sure that you have a link to the netscape java plugin as well, it will work in Firefox, you just have to make sure Firefox thinks the file is in its directory.
jensen, when i rule that command it tells me the file already exists. But what i still dont get is i cannot see java applets, i am completey lost here.
Originally posted by N|k0N jensen, when i rule that command it tells me the file already exists. But what i still dont get is i cannot see java applets, i am completey lost here.
what color is the link when you add on the --co tag?
Also, does it point to something that actually exists?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.