LinuxQuestions.org
Review your favorite Linux distribution.
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 06-16-2003, 02:07 PM   #1
mipia
Member
 
Registered: May 2003
Location: lake michigan
Distribution: Debian, Mint, Slackware
Posts: 457

Rep: Reputation: 35
slackware vs. mozilla java plugin


hey whats up,

love the forum but I dont understand what a M$ banner ad is doing on this site. Anyways....
Just installed Slack 9 yesterday. Everythign seems to be fine except i cant get the Java plugin to work in Mozilla. Everytime I download it I still get that "blue puzzlepiece".
Its not a big deal since I'm only using it to get into Yahoo, so if there is some utility I can use to get into a Yahoo chat room besides a browser I could work with that as well.
I downloaded the plugin from the netscape site as well as the j2re tgz. still nothing.
Any pointers would be helpfull.
 
Old 06-16-2003, 02:09 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
have you actually made a symlink from the installation directory to the plugin directory?

ln -s /some/where/libjavaplugin.so /usr/lib/mozilla/plugins

then check "about plugins" to see...
 
Old 06-16-2003, 03:03 PM   #3
mipia
Member
 
Registered: May 2003
Location: lake michigan
Distribution: Debian, Mint, Slackware
Posts: 457

Original Poster
Rep: Reputation: 35
so in saying "some/where" i just need to create a directory? Or......
 
Old 06-16-2003, 03:39 PM   #4
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
You have to find out where that file is.

Do (as root) in a console: "updatedb"

when thats done and a prompt comes up again, do (as any user): "locate libjavaplugin.so"

that should tell you where the file is.

Then do:

ln -s /some/where/libjavaplugin.so /usr/lib/mozilla/plugins , replacing /some/where/ with the location that "locate" told you.
 
Old 06-16-2003, 03:56 PM   #5
mipia
Member
 
Registered: May 2003
Location: lake michigan
Distribution: Debian, Mint, Slackware
Posts: 457

Original Poster
Rep: Reputation: 35
typed updatedb this is what came up.....

warning: updatedb: could not open database: /v ar/lib/slocate/slocate.db: No such file or directory

interesting........
 
Old 06-16-2003, 04:11 PM   #6
mipia
Member
 
Registered: May 2003
Location: lake michigan
Distribution: Debian, Mint, Slackware
Posts: 457

Original Poster
Rep: Reputation: 35
strange thing, typed the command again, and it actually did something...computers are strange creatures
 
Old 06-16-2003, 06:00 PM   #7
Rodrin
Member
 
Registered: May 2003
Location: Upstate NY, U.S.
Distribution: Slackware
Posts: 248

Rep: Reputation: 31
Another piece to this puzzle is that you need a version of Java compiled with gcc 3.2 to work with the Mozilla that comes in Slack 9. If you use a Java compiled with a 2.x compiler, it will not work.
 
Old 06-16-2003, 06:28 PM   #8
mipia
Member
 
Registered: May 2003
Location: lake michigan
Distribution: Debian, Mint, Slackware
Posts: 457

Original Poster
Rep: Reputation: 35
*slaps forehead*

oh...I see
 
Old 06-16-2003, 11:06 PM   #9
mipia
Member
 
Registered: May 2003
Location: lake michigan
Distribution: Debian, Mint, Slackware
Posts: 457

Original Poster
Rep: Reputation: 35
would it matter if I updated my version of Mozilla?

Sorry if this thread is getting annoying,
Mike
 
Old 06-17-2003, 01:12 AM   #10
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
ok, this is a bit dumb, but the better way to make plugins to work ith mozilla is to let mozilla install it by itself. So start mozilla at root, load a page that contain a java applet, then mozilla will ask you if you want to download and install the plugin....
answer yes and let it does the bad work
 
Old 06-18-2003, 03:05 PM   #11
Rodrin
Member
 
Registered: May 2003
Location: Upstate NY, U.S.
Distribution: Slackware
Posts: 248

Rep: Reputation: 31
In answer to your question about if it matters if you upgrade your version of mozilla: Yes, it does. If you download one of the precompiled binaries of mozilla from their site, it will be a version that was compiled with gcc 2.95, no matter which recent version you pick (last I checked their site anyway). So if you get one of these then you can use a version of Java compiled with gcc 2.95.

If you would like to continue to use Mozilla compiled with gcc 3.2, you can download a Java from Blackdown. There is one at ftp://ftp.tux.org/pub/java/JDK-1.4.1...586-gcc3.2.bin. There is also a version of Java SDK in the same directory, along with versions compiled with gcc 2.95. This file is executable, so if you make sure it has executable permissions, you can run it as root to install Java on your machine. Then you just create a link to the JRE from your Mozilla plugin directory as acid_kewpie explained earlier. There may also be a Sun JRE compiled with gcc 3.2 by this time, although there was not one available when I installed Java on my Slack 9 box a couple of months ago.

One other point, letting Mozilla install the plugin for you will not work from the Mozilla that comes with Slack 9 because it does not know enough not to get a version compiled with gcc 2.95.

Last edited by Rodrin; 06-18-2003 at 03:07 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
Mozilla java plugin no go kills Mozilla skinpainting Red Hat 13 11-30-2003 11:30 AM
Java Plugin in Mozilla 1.2.1 opasch Linux - General 7 08-13-2003 01:46 AM
mozilla 1.4 java-vm plugin Quis Linux - Software 5 06-12-2003 04:54 AM
Mozilla Java Plugin Donald1000 Linux - Software 2 05-03-2003 10:29 AM
java plugin for mozilla chlee Linux - Software 4 04-07-2003 05:24 AM

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

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