LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-17-2004, 08:24 PM   #1
N|k0N
Member
 
Registered: Aug 2004
Location: New York
Posts: 63

Rep: Reputation: 15
Java Plugin Mozilla


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
Code:
ln -s /home/j2re1.4.2_05/plugin/i386/ns610-gcc32/libjavaplugin_oji.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?

Last edited by N|k0N; 09-17-2004 at 08:26 PM.
 
Old 09-17-2004, 08:52 PM   #2
Tuvok
Member
 
Registered: Mar 2003
Distribution: FreeBSD 6.1, NetBSD 3.0.1
Posts: 170

Rep: Reputation: 30
I also have Slackware 10, but my j2re (Java(TM) Plug-in 1.4.2_04-b05) come with the installation. Looking at your code:

ln -s /home/j2re1.4.2_05/plugin/i386/ns610-gcc32/libjavaplugin_oji.so

The code only shows the source of the link, the destination of the link is missing. It should be like this:

ln -s /home/j2re1.4.2_05/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /path-to/mozilla/plugins/libjavaplugin_oji.so
 
Old 09-17-2004, 09:12 PM   #3
JustOl'Bob
Member
 
Registered: Apr 2004
Location: upstate New York
Distribution: SuSE 9.0, Fedora Core 2
Posts: 117

Rep: Reputation: 19
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?
 
Old 09-17-2004, 09:33 PM   #4
N|k0N
Member
 
Registered: Aug 2004
Location: New York
Posts: 63

Original Poster
Rep: Reputation: 15
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
 
Old 09-17-2004, 09:41 PM   #5
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
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.

On my pc it's /usr/lib/mozilla-1.7.2/plugins

Last edited by gbonvehi; 09-17-2004 at 09:44 PM.
 
Old 09-17-2004, 10:05 PM   #6
JustOl'Bob
Member
 
Registered: Apr 2004
Location: upstate New York
Distribution: SuSE 9.0, Fedora Core 2
Posts: 117

Rep: Reputation: 19
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.....
 
Old 09-17-2004, 11:38 PM   #7
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
ls -l /usr/lib/mozilla-1.7/plugins/libjavaplugin_oji.so
lrwxrwxrwx 1 root root 62 2004-08-09 05:15 /usr/lib/mozilla-1.7/plugins/libjavaplugin_oji.so -> /usr/lib/java/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so

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.
 
Old 09-18-2004, 01:29 AM   #8
N|k0N
Member
 
Registered: Aug 2004
Location: New York
Posts: 63

Original Poster
Rep: Reputation: 15
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.
 
Old 09-18-2004, 02:51 AM   #9
thermite_1033
Member
 
Registered: May 2004
Location: Antwerp, Belgium
Distribution: slackware
Posts: 112

Rep: Reputation: 18
do this as the normal user

set $PATH=$PATH:/usr/lib/java/bin
set $JAVA_HOME=/usr/lib/java

'java' replaced this with your path to the java directory

 
Old 09-18-2004, 09:24 AM   #10
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Quote:
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Java plugin for Mozilla 1.7.6 Bariana Linux - Newbie 1 08-23-2005 10:37 AM
Mozilla java plugin no go kills Mozilla skinpainting Red Hat 13 11-30-2003 12:30 PM
Java Plugin in Mozilla 1.2.1 opasch Linux - General 7 08-13-2003 02:46 AM
mozilla 1.4 java-vm plugin Quis Linux - Software 5 06-12-2003 05:54 AM
java plugin for mozilla chlee Linux - Software 4 04-07-2003 06:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration