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 04-28-2009, 03:50 PM   #1
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
12.2Firefox and jre


I keep installing java runtime at the request of various web sites but the sites still want it installed. I remember during the setup there was a jre package, is it put in a place that firefox can't find it and all the installs afterward are following?
 
Old 04-28-2009, 04:32 PM   #2
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,159
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Hello,

The java runtime available in 12.2 is jre version 6 update 11 (package jre-6u11-i586-1.tgz)

However sites will report that the java runtime is not installed because the latest version is not installed (version 6 update 13).

You need to install the latest java runtime (i.e. version 6 update 13) by installing the package in -current available here

You can then check your java runtime version in Firefox by typing "about:plugins" in the address bar
 
Old 04-28-2009, 07:00 PM   #3
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,134

Rep: Reputation: 277Reputation: 277Reputation: 277
I've had a tough time figuring out where firefox looks for plugins; it could be anywhere. However, for java to work, you'll need to put a link to the libjavaplugin in your .mozilla/plugins directory. The installation of the jre<whatever>.tgz package should put it here:

Code:
/usr/lib/java/plugin/i386/ns7/libjavaplug.so
so, from .mozilla/plugins:

Code:
ln -s /usr/lib/java/plugin/i386/ns7/libjavaplug.so .
and you should be set.

cheers,
 
Old 05-02-2009, 01:58 PM   #4
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Firefox checks for plugins in multiple directories. If you are using the official Slackware package, then a patch was applied that adds /usr/lib/mozilla/plugins to that list of places. That is where your plugins should be globally installed. Don't put them in /usr/lib/firefox/plugins because you will have to move them when you upgrade firefox.

If you are installing a plugin just for one user then ~/.mozilla/plugins or ~/.mozilla/firefox/plugins should work, but keep in mind that they might override a global plugin of the same type. Some people have had problems with plugins (flash for example) because they had different versions of the same plugin installed globally and on a user level.
 
Old 05-08-2009, 07:11 AM   #5
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486

Original Poster
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
Ok, its really strange, one minute a web site that wants jre will recognize it and work and the next time I try it wants me to install missing plugins.
 
Old 05-08-2009, 11:40 PM   #6
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
are you using something like noScript?
 
Old 05-09-2009, 09:53 AM   #7
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486

Original Poster
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
No, I haven't installed any plugins yet
 
Old 05-09-2009, 01:00 PM   #8
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
NoScript is actually an Addon (extension) and not a plugin. Could you please show the output of browsing to
Code:
about:plugins
The problem could even potentially lie with the specific sites themselves.
 
Old 05-11-2009, 07:45 AM   #9
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486

Original Poster
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
Just the default
Adobe reader 9.1
Shockwave flash
I haven't installed much yet.
 
Old 05-12-2009, 11:47 PM   #10
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Quote:
Originally Posted by enine View Post
Just the default
Adobe reader 9.1
Shockwave flash
I haven't installed much yet.
so jre plugin is not installed.

Assuming jre is installed on your machine...
Code:
cd /usr/lib/mozilla/plugins
rm -rf libjavaplugin_oji.so
ln -s /usr/lib/java/plugin/i386/ns7/libjavaplugin_oji.so
Do that with all instannces of firefox closed and then restart an instance of firefox. Now if you navigate to about:plugins you should see the jre plugin.
 
Old 05-20-2009, 06:56 AM   #11
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486

Original Poster
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
Thanks, I'll try it.
I seem to have a lot of issues with 12.2, the font issue I listed in another thread I still haven't figured out (the font used for all the menu's in apps like firefox is stuck around 16-18 point so I have huge menu bars), The config for my printer gave a syntax error when I went to install it and now just prints garbage, I can't get anything to boot under vitualbox and it also complains that I'm not running in 32bit color depth and when I try that X just hangs. I'm thinking of going back to 12.1 for now.
 
Old 05-20-2009, 08:15 PM   #12
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486

Original Poster
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
Same thing, no jre.
 
Old 05-20-2009, 11:50 PM   #13
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Quote:
Originally Posted by enine View Post
Thanks, I'll try it.
I seem to have a lot of issues with 12.2, the font issue I listed in another thread I still haven't figured out (the font used for all the menu's in apps like firefox is stuck around 16-18 point so I have huge menu bars), The config for my printer gave a syntax error when I went to install it and now just prints garbage, I can't get anything to boot under vitualbox and it also complains that I'm not running in 32bit color depth and when I try that X just hangs. I'm thinking of going back to 12.1 for now.
I remember when 12.2 first came out that others had similar font issues. I seem to remember the fix being in the xorg.conf file, but since it is a problem with just Gtk+ apps you can use something like lxappearance (search at slackbuilds.org) to manually set the font size.

If the printer is a HP printer then check the CHANGES_AND_HINTS.TXT. Of course, perhaps you didn't merge your cups config settings well.

Perhaps try reinstalling the Slackware jre package
(upgradepkg --reinstall). Then create a new profile in firefox to test it.
Code:
firefox -ProfileManager
should open open the Profile Manager so you can create a new profile.

What does about:plugins say then?
 
Old 05-21-2009, 08:35 AM   #14
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486

Original Poster
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
I couldn't find much on font issues, I setup the same 12.2 under virtualbox and the fonts look normal so it must be somehting about how the xorgsetup detected my hardware, I'm on a netbook at 1024x600 and did the virtualbox at 1024x768. Whatever font korganizer uses for the monthly calendar pane is real big too so that pane stretches out and uses nearly half of the display. I'm hoping to compare the xorg between the two and see if I can figure out why.
The printersetup I never had to do anything with before, I just use the kde printer applet and added it and it worked fine, this time I got a message that there was a syntax error. I downloaded the latest hplip and I'll delete and re-add tonight and see. Downloaded the latest jre slackware package now too so I can upgrade that as well.
 
Old 07-29-2009, 03:35 PM   #15
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486

Original Poster
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
I keep trying

root@darkstar:/usr/lib/mozilla/plugins# ls
gxineplugin.so@ libmozsvgdec.la* libnpjp2.so@ nppdf.so*
libjavaplugin_oji.so@ libmozsvgdec.so* libvlcplugin.so*
root@darkstar:/usr/lib/mozilla/plugins# ls -l
total 296
lrwxrwxrwx 1 root root 29 2009-04-26 19:32 gxineplugin.so -> /usr/lib/gxine/gxineplugin.so*
lrwxrwxrwx 1 root root 50 2009-07-29 16:31 libjavaplugin_oji.so -> /usr/lib/java/plugin/i386/ns7/libjavaplugin_oji.so*
-rwxr-xr-x 1 root root 880 2008-10-08 18:29 libmozsvgdec.la*
-rwxr-xr-x 1 root root 7292 2008-10-08 18:29 libmozsvgdec.so*
lrwxrwxrwx 1 root root 34 2009-05-21 15:40 libnpjp2.so -> /usr/lib/java/lib/i386/libnpjp2.so*
-rwxr-xr-x 1 root root 100708 2008-12-04 01:37 libvlcplugin.so*
-rwxr-xr-x 1 root root 179552 2009-04-29 05:14 nppdf.so*


still no java, you can see the link there and the file exists
 
  


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
Where JRE 5.0 Branta Puppy 3 12-28-2007 02:46 PM
convert from jre-...-rpm.bin into jre-...rpm gimi_k2 Linux - Newbie 3 07-18-2005 06:34 PM
where's the JRE in Fedora? brunnopessoa Fedora 4 10-30-2004 09:38 PM
Firefox and JRE merchtemeagle Linux - Newbie 3 10-17-2004 09:37 AM
Jre inescapeableus Linux - Newbie 3 04-18-2004 10:04 PM

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

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