LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 11-26-2006, 10:32 PM   #31
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30

Quote:
Originally Posted by masonm
so download the package from a slack mirror and install it

I did that. Downloaded ran pkgtool and it acted like it installed but still does not seem like its working.
But when I do which java I get this..... /usr/lib/java/bin/java

Last edited by M$ISBS; 11-26-2006 at 10:33 PM.
 
Old 11-26-2006, 11:08 PM   #32
Mr_C
Member
 
Registered: Jan 2004
Location: Trinidad & Tobago
Distribution: Slackware
Posts: 317

Rep: Reputation: 30
Hang in there; you'll get java working.
Do all this as root.

run this command
Code:
 ls /var/log/packages | grep jre
it should list some version of java.

If it doesn't ok. If it does please remove it with
Code:
 removepkg jre-version-you-got-from-above-command
Download this http://mirror.pacific.net.au/linux/s..._09-i586-1.tgz

Code:
installpkg jre-1_5_0_09-i586-1.tgz
Now run this command
Code:
ldconfig
Now remove a possible bad symlink
Code:
rm /usr/lib/firefox/plugins/libjavaplugin_oji.so
Now as Spinlock said do this
Code:
ln -s /usr/lib/java/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox/plugins/
And run ldconfig again for the heck of it.

Restart firefox and see if it works now (about:plugins)

Last edited by Mr_C; 11-26-2006 at 11:13 PM.
 
Old 11-27-2006, 11:41 PM   #33
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
I followed those instructions exactly and things went fine until I did:

ln -s /usr/lib/java/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox/plugins/

I got no such file or directory so I changed the /usr/lib/firefox/plugins line to point to where my firefox is installed and it created a libjavaplugin file but it has a lock on the icon. If that is locked than that means I cant use it as a user right?
 
Old 11-28-2006, 02:02 PM   #34
Mr_C
Member
 
Registered: Jan 2004
Location: Trinidad & Tobago
Distribution: Slackware
Posts: 317

Rep: Reputation: 30
the lock means either you don't have access or its a dead link.
ok type this
Code:
 find / | grep libjavaplugin_oji.so
to find out where the devil it is.
 
Old 11-28-2006, 09:35 PM   #35
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
After doing " find / | grep libjavaplugin_oji.so " I get.........


/home/redguard/libjavaplugin_oji.so
/home/redguard/.mozilla/plugins/libjavaplugin_oji.so
/home/redguard/.mozilla/plugins/jre1.6.0/plugin/i386/ns7/libjavaplugin_oji.so
/home/redguard/.mozilla/plugins/jre1.6.0/plugin/i386/ns7-gcc29/libjavaplugin_oji .so
/home/redguard/downloads/firefox/plugins/libjavaplugin_oji.so
/home/redguard/downloads/jdk1.6.0/jre/plugin/i386/ns7/libjavaplugin_oji.so
/home/redguard/downloads/jdk1.6.0/jre/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
/home/redguard/.local/share/Trash/info/libjavaplugin_oji.so..trashinfo
/home/redguard/.local/share/Trash/info/libjavaplugin_oji.so.trashinfo
/home/redguard/.local/share/Trash/files/libjavaplugin_oji.so
/home/redguard/.local/share/Trash/files/libjavaplugin_oji.so.
/home/redguard/.local/share/Trash/files/jre1_1.6.0/plugin/i386/ns7/libjavaplugin_oji.so
/home/redguard/.local/share/Trash/files/jre1_1.6.0/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
/home/redguard/.local/share/Trash/files/jre1.6.0/plugin/i386/ns7/libjavaplugin_oji.so
/home/redguard/.local/share/Trash/files/jre1.6.0/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
/home/redguard/.local/share/Trash/files/jdk1.6.0/jre/plugin/i386/ns7/libjavaplugin_oji.so
/home/redguard/.local/share/Trash/files/jdk1.6.0/jre/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
find: WARNING: Hard link count is wrong for /: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories that should have been searched.
 
Old 11-28-2006, 09:43 PM   #36
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Just a shot in the dark here but did you run ln -s /usr/lib/java/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox/plugins/ as root?
 
Old 11-28-2006, 09:56 PM   #37
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by masonm
Just a shot in the dark here but did you run ln -s /usr/lib/java/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox/plugins/ as root?
Dozens of times and using many different locations........
/usr/lib/firefox/plugins/
/usr/lib/.mozilla/plugins/
/home/myhome/.mozilla/plugins
ETC....

QUESTION....Would Java not installing have anything to do with KDE being in a custom location or does KDE have nothing to do with it?

Last edited by M$ISBS; 11-28-2006 at 09:57 PM.
 
Old 11-28-2006, 10:02 PM   #38
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Quote:
Originally Posted by M$ISBS
Dozens of times and using many different locations........
/usr/lib/firefox/plugins/
/usr/lib/.mozilla/plugins/
/home/myhome/.mozilla/plugins
ETC....

QUESTION....Would Java not installing have anything to do with KDE being in a custom location or does KDE have nothing to do with it?
No, KDE has nothing to do with it.

I don't know, something is not right here. Double check the "firefox" symlink in the usr/lib directory to make sure where it's really pointing. You did say you installed FF2.0 right? (too lazy to go back to original post). Make sure it points to the new one. You can also edit the command to ln -s /usr/lib/java/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox-2.0/plugins/libjavaplugin_oji.so


By the way, what is the output of /ls /usr/lib/firefox-2.0/plugins ?

Last edited by masonm; 11-28-2006 at 10:04 PM.
 
Old 11-28-2006, 10:47 PM   #39
Mr_C
Member
 
Registered: Jan 2004
Location: Trinidad & Tobago
Distribution: Slackware
Posts: 317

Rep: Reputation: 30
In my case I installed firefox2 from linuxpackages.net. Their install put it in /usr/lib/firefox. I still have my old /usr/lib/firefox-1.5 folder with nothing in it but my old pluggins symlinks.

So, please do a 'ls /usr/lib/firefox*' and see which dir you are really running firefox from. Additionally do a 'whereis firefox' and then 'ls -l path-given-with-previous-command' to help you.
 
Old 11-29-2006, 09:27 PM   #40
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
I dont have a /usr/lib/firefox directory of any kind.
I have firefox in /home/myhome/downloads/firefox
when I do whereis firefox it just shows firefox:
 
Old 11-30-2006, 12:19 AM   #41
Spinlock
Member
 
Registered: Jan 2006
Location: Missouri
Distribution: Slackware -current, Slackware64 -current, Slackware 12.2
Posts: 191

Rep: Reputation: 49
One last question, M$ISBS...
Code:
find / | grep firefox
We now know where your java plugin is... we need to find out where it goes.
 
Old 11-30-2006, 04:07 AM   #42
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
You don't seem to have java or firefox installed anywhere outside your home directory. Did you install them as root?
 
Old 11-30-2006, 01:49 PM   #43
Mr_C
Member
 
Registered: Jan 2004
Location: Trinidad & Tobago
Distribution: Slackware
Posts: 317

Rep: Reputation: 30
Quote:
Originally Posted by M$ISBS
I dont have a /usr/lib/firefox directory of any kind.
I have firefox in /home/myhome/downloads/firefox
when I do whereis firefox it just shows firefox:
ok well you can fix this still.

cp -rf /home/myhome/downloads/firefox /usr/lib/firefox-2.0
ln -s /usr/lib/firefox-2.0 /usr/lib/firefox
ln -s /usr/lib/firefox/firefox /usr/bin/firefox
ln -s /usr/lib/java/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox/plugins/libjavaplugin_oji.so

Rerun firefox.
 
Old 12-01-2006, 01:29 AM   #44
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by simcox1
You don't seem to have java or firefox installed anywhere outside your home directory. Did you install them as root?
I dont think I installed as root, not sure
 
Old 12-01-2006, 01:38 AM   #45
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
I tried that Mr_c and still does not work. Im not sure if its even worth it , but I wil l keep messing around with it.
Thanks.
 
  


Reply



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
How does java work with firefox? M$ISBS Linux - Software 24 09-07-2006 11:07 AM
How do I get Java to work in FireFox? jesuscakes Fedora 1 05-31-2006 02:49 PM
Java does not work in mozilla/firefox anilbh Fedora 2 05-18-2006 02:00 AM
firefox and java doesn't work houler Linux - Software 1 04-20-2005 03:09 PM
can't get java 1.4.2 to work with firefox 0.9.3 prospero14 Linux - Software 5 09-08-2004 10:36 PM

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

All times are GMT -5. The time now is 12:20 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
Open Source Consulting | Domain Registration