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 11-24-2006, 10:54 PM   #16
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,299

Rep: Reputation: 89

Oh please. Let's not start that lame distro fanboy garbage. It's really old.
 
Old 11-24-2006, 11:51 PM   #17
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
Quote:
Originally Posted by Sepero
OMG, this is so stupid. I can't believe there are distros out there that can't even friggin automate a Java install yet. sheeesh.
But Slackware does come preinstalled with JRE. Sheesh! :P
 
Old 11-25-2006, 12:01 AM   #18
hitest
Guru
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware64
Posts: 5,981

Rep: Reputation: 2194Reputation: 2194Reputation: 2194Reputation: 2194Reputation: 2194Reputation: 2194Reputation: 2194Reputation: 2194Reputation: 2194Reputation: 2194Reputation: 2194
Quote:
Originally Posted by duryodhan
But Slackware does come preinstalled with JRE. Sheesh! :P
I know:-) I mentioned this a few posts back:-)
If you install Java it is all there.
 
Old 11-25-2006, 01:41 AM   #19
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Ive tried all the suggestions and a few of my own ideas with no luck. Would it matter if I switched to another browser like Opera?
 
Old 11-25-2006, 02:15 AM   #20
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
Go to your Slackware Install media and install JDK packages. It would automatically make sure JRE is installed. Or remove JRE with pkgtool and just reinstall JRE again.(But this doesn't seem to work for you so thats why I said the earlier method).
 
Old 11-25-2006, 02:40 AM   #21
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Is there a way to remove all of java, including the JDK I installed previously and start from scratch?
 
Old 11-25-2006, 04:06 AM   #22
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
yeah I think pkgtool should be able to do it if you did checkinstall.
 
Old 11-25-2006, 08:18 AM   #23
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,299

Rep: Reputation: 89
As duryodhan suggested, use pkgtool to remove the JRE package, then install it again. Also, before you do, in the /usr/lib directory, check to see what the symlink "firefox" is pointing to. Make sure it's pointing to Firefox 2 and not the older one.
 
Old 11-25-2006, 08:55 AM   #24
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 767

Rep: Reputation: 60
Quote:
Thanks but those are the exact instructions I have been trying for an hour.

When I do this: libjavaplugin_oji.so -> /usr/lib/java/plugin/i386/ns7/libjavaplugin_oji.so*
as user I get "permission denied" and as root I get "command not found".
You got 'command not found' if you entered the above because there is no command there.
You are creating a soft link or 'symlink' for which you need to use ln -s

If you have the Slack firefox2 package,
cd /usr/lib/firefox-2.0/plugins

or alternatively

cd /yourhome/.mozilla/plugins

then issue the command

ln -s /usr/lib/<JREversion>/plugin/i386/ns7/libjavaplugin_oji.so libjavaplugin_oji.so

where JREversion is your JRE version (!) eg jre1.5.0_09

(or simply ln -s /usr/lib/java/plugin/i386/ns7/libjavaplugin_oji.so libjavaplugin_oji.so
if you have a symlink already in /usr/lib pointing to your java version, eg "java -> jre1.5.0_09/")

the ln -s command is easy to understand,
ln -s /PATH/TO/TARGET LINKNAME

so NAME is what the link is called, this obviously needs to be what firefox is expecting, ie libjavaplugin_oji.so
Also you need to be in the directory in which you want the link to reside, unless you specify that in your command as well - see 'man ln'

hope that helps

tobyl

Last edited by tobyl; 11-25-2006 at 08:59 AM.
 
Old 11-26-2006, 07:46 PM   #25
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Ive done that 20 times several different ways. Nothing seems to work and I dont know what else to do. I did it once more and the console said

" aplugin_oji.so
ln: creating symbolic link `libjavaplugin_oji.so' to `/usr/lib/jre1.5.0_07/plugin/i386/ns7/libjavaplugin_oji.so': File exists
"

The JDK I installed was 1.6 and then I installed the 1.5 JRE. could this be part of the problem?
I dont know what else to do.

Last edited by M$ISBS; 11-26-2006 at 08:19 PM.
 
Old 11-26-2006, 08:54 PM   #26
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Am I supposed to have something related to Java in /usr/java ? It is empty.
According to these, http://www.mozilla.org/support/firefox/faq#q2.2 instructions soemething should be there.
 
Old 11-26-2006, 09:06 PM   #27
Spinlock
Member
 
Registered: Jan 2006
Location: Missouri
Distribution: Slackware -current, Slackware64 -current, Slackware 12.2
Posts: 150

Rep: Reputation: 24
No, but there should be something in /usr/lib/java.

What I did, exactly as typed, easily copied and pasted to a command line using SHIFT+INSERT:
Code:
ln -s /usr/lib/java/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox/plugins/
This is using the JRE from the Slackware install DVD.
 
Old 11-26-2006, 09:07 PM   #28
kotnik
Member
 
Registered: Nov 2004
Location: Novi Sad, Serbia
Distribution: Debian, Slackware, Gentoo, openSuSE
Posts: 254

Rep: Reputation: 31
No, there shouldn't be anything in /usr/java by Slackware's default. You can install Java there, if you really want...

Anyway... Just delete that symlink you have and install jre package from your Slackware installation CDs...
 
Old 11-26-2006, 09:49 PM   #29
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Spinlock
No, but there should be something in /usr/lib/java.

What I did, exactly as typed, easily copied and pasted to a command line using SHIFT+INSERT:
Code:
ln -s /usr/lib/java/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox/plugins/
This is using the JRE from the Slackware install DVD.
I just checked and I dont have a /usr/lib/java folder. Shouldnt that have been created when I installed the JDK or JRE? Should I go ahead and make the folder and copy the JRE folder to it?
I dont have any 10.2 CDs to install from.
 
Old 11-26-2006, 10:56 PM   #30
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,299

Rep: Reputation: 89
so download the package from a slack mirror and install it
 
  


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

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

All times are GMT -5. The time now is 01:30 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