LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-05-2004, 04:55 PM   #1
Kelean
Member
 
Registered: Dec 2004
Location: G. R. Michigan
Distribution: Absloute 12.x and Slackware 12.0
Posts: 71

Rep: Reputation: 15
trouble with java using forefox 1.0 broken sym-link


I am new to slackware but not new to linux I was using fedora C1 but was frustrated with it. After reading many posts I have chosen slack 10.0 for everyday use and debian 3.0 r3 to play with. My problem is that I keep getting a broken sym-link from my plugins folder in firefox to java folder so I can play pogo games. Im sure i have missed something. I can create the link but it does not work. I look at the link properties and it says its broken. Thank you, I really like this formum. Kelean
 
Old 12-05-2004, 05:10 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Type: ls -l ~/.mozilla/plugins
And paste the output.
You should read something like: libjavaplugin_oji.so -> /usr/lib/java/jre/plugin/i386/ns7/libjavaplugin_oji.so
Check if the file being pointed to in /usr exists, if it doesn't exist there try to see if you can locate libjavaplugn_oji.so. If you still can't find it, install j2sdk package.

Last edited by gbonvehi; 12-05-2004 at 05:11 PM.
 
Old 12-05-2004, 05:25 PM   #3
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
if the link is broken, can you update it?....
 
Old 12-05-2004, 05:26 PM   #4
Kelean
Member
 
Registered: Dec 2004
Location: G. R. Michigan
Distribution: Absloute 12.x and Slackware 12.0
Posts: 71

Original Poster
Rep: Reputation: 15
ok I did command and here is what was returned

total 21
lrwxrwxrwx 1 root root 72 2004-12-04 21:19 libjavaplugin_oji_so. -> /usr/lib/j2sdk1.4.2_04/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji_so.
-rwxr-xr-x 1 kevin users 18840 2004-11-07 13:27 libnullplugin.so
bash-2.05b$ ln -s /usr/lib/j2sdk1.4.2_04/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji_so.
 
Old 12-05-2004, 06:07 PM   #5
JunctaJuvant
Member
 
Registered: May 2003
Location: Wageningen, the Netherlands
Distribution: OS X & Linux Mint
Posts: 488

Rep: Reputation: 31
Have you tried specifying the full paths when creating the symlink? Like so:
Code:
ln -sf /path/to/jre/plugin/libjavaplugin_oji_so /path/to/mozilla/plugins/libjavaplugin_oji_so
The -f flag makes that the old symlink is removed.
Just something you could try.

JJ
 
Old 12-05-2004, 07:39 PM   #6
rotvogel
Member
 
Registered: Oct 2003
Posts: 534

Rep: Reputation: 30
The java version you are using is afaik not secure, there are security issues with it. Upgrade to 1.4.2_06 or the 1.5.0 version.

The symlink is not good, instead of /libjavaplugin_oji_so try libjavaplugin_oji.so because that's how the file is named.
Code:
 cd to your plugindir
 ln -s /usr/lib/java/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so libjavaplugin_oji.so (if you take my next advice)
Another advice is to make a symlink in your /usr/lib directory called java, pointing to the actual dir of the java version you use. That way you will have only to update your plugin link even when you upgrade your java version, you will have to update the java symlink. But that is only one, browser plugins could be several. The path for the java_1.5.0 version was changed so if you chose to install that you will have to change the symlink once. This could be handy for path purposes as well .
Code:
ln -s  /usr/lib/j2sdk1.4.2_06 /usr/lib/java (if your installing the package below)
The almost official update for java is here:
http://www.slackware.org.br/~patrick...ches/packages/

Good luck


The location of the 1.5.0 plugin:
libjavaplugin_oji.so -> /usr/java/jre/plugin/i386/ns7/libjavaplugin_oji.so

Last edited by rotvogel; 12-05-2004 at 07:43 PM.
 
  


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
media:/ link broken Telemako Linux - General 0 11-27-2005 02:43 PM
Sym link disaepears after shut down/restart usr_wifi Linux - Software 0 02-13-2005 02:43 PM
Cannot get sym link from java to firefox to work Kelean Slackware 3 01-23-2005 05:06 PM
link (broken) newlin Linux - Software 1 11-22-2003 02:20 PM
View New Posts link broken? wrc1944 LQ Suggestions & Feedback 2 09-11-2002 11:44 AM

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

All times are GMT -5. The time now is 11:32 PM.

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