LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-23-2006, 08:39 PM   #1
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Rep: Reputation: 30
Does java work with firefox?


Ive got firefox 2, downloaded jre and checked the enable java box in preferences and java still will not work. Anyone know if there are any problems with java working in firefox? If not do you have an tips on getting it to work? I have already followed the instructions on the sun website over and over with no luck.
 
Old 11-23-2006, 08:50 PM   #2
kotnik
Member
 
Registered: Nov 2004
Location: Novi Sad, Serbia
Distribution: Debian, Slackware, Gentoo, openSuSE
Posts: 254

Rep: Reputation: 31
Type following as address in Firefox: about: plugins (kill space after semicolon, bloody editor is turning into smiley).

Last edited by kotnik; 11-23-2006 at 08:51 PM.
 
Old 11-23-2006, 08:59 PM   #3
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by kotnik
Type following as address in Firefox: about: plugins (kill space after semicolon, bloody editor is turning into smiley).
ok, I see shockwave and nothing else. I suppose there should be a java plugin somewhere there?
I installed it just like the instructions said to and I did the symbolic link thing also.

Last edited by M$ISBS; 11-23-2006 at 09:01 PM.
 
Old 11-23-2006, 10:41 PM   #4
Sepero
Member
 
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 734
Blog Entries: 1

Rep: Reputation: 32
Double check, triple check, your symbolic links. After you get the symbolic links correct, FF must be restarted.
 
Old 11-23-2006, 11:14 PM   #5
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Ive been at it for an hour and it still wont work. I have done the instructions on the sun website like 15 times and made sure I placed the correct version I downloaded in place of what the instructions say. I did the symbolic links, downloaded a different version of java and still wont work. Enabled it in FF, restarted it and nothing.
 
Old 11-23-2006, 11:16 PM   #6
vtel57
Member
 
Registered: Jul 2006
Location: VPN Tunnel, USA
Distribution: Slackware64
Posts: 945

Rep: Reputation: 122Reputation: 122
Hmmmph! I'm having similar problems with Java in Fedora.
 
Old 11-24-2006, 01:34 AM   #7
Sepero
Member
 
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 734
Blog Entries: 1

Rep: Reputation: 32
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.

I wish people would just use Ubuntu or Mepis (or PCLOS/Xandros/FreeSpire) and freaking be done with it. (I DO have them in my signature for every newbie to see.)

M$ISBS, post the link to the website you are using to try and install this. We should be able to help you get this thing going.
 
Old 11-24-2006, 01:55 AM   #8
bhert
Member
 
Registered: May 2006
Distribution: OpenSUSE 10.3 Kubuntu Hardy Heron
Posts: 268

Rep: Reputation: 30
For anyone that has any problems linking Java to your browser, here are the instructions to get it working Worked for me!!
Note: There are 2 different instructions depending on your browser and version.
I Got this off the Java web site



Mozilla 1.4 and later

1. Go to the plugins sub-directory under the Mozilla installation directory
cd <Mozilla installation directory>/plugins
2. In the current directory, create a symbolic link to the JRE ns7/libjavaplugin_oji.so file Type:
ln -s <JRE installation directory>/plugin/i386/ns7/libjavaplugin_oji.so

Example:
* If Mozilla is installed in this directory:
/usr/lib/mozilla-1.4/
* and if the JRE is installed at this directory:
/usr/java/jre1.5.0
* Then type at the terminal to go to the browser plug-in directory:
cd /usr/lib/mozilla-1.4/plugins
* Enter the following command to create a symbolic link to the Java Plug-in for the Mozilla browser.
ln -s /usr/java/jre1.5.0/plugin/i386/ns7
/libjavaplugin_oji.so .
3. Start Mozilla browser or restart it if it is already running. Note that if you have other Mozilla components (ie: Messenger, Composer, etc) running, you will need to restart them as well.
4. Go to Edit > Preferences. Under Advanced category > Select Enable Java



Mozilla 1.2, Netscape 6 and later

1. Go to the plugins sub-directory under the Netscape directory
cd <Mozilla1.2>/plugins
2. Create a symbolic link to the ns7-gcc29/libjavaplugin_oji.so file:
ln -s <JRE>/plugin/i386/ns7-gcc29/libjavaplugin_oji.so

Example:
* If Netscape is installed at this directory:
/usr/lib/Mozilla1.2/
* And if the JRE is installed at this directory:
/usr/java/jre1.5.0
* Then type at the terminal to go to the browser plug-in directory:
cd /usr/lib/Mozilla1.2/plugins
* Enter the following command to create a symbolic link to the Java Plug-in for the Mozilla browser.
ln -s /usr/java/jre1.5.0/plugin/i386/ns7-gcc29
/libjavaplugin_oji.so .
3. Start Mozilla browser or restart it if it is already running. Note that if you have other Mozilla components (ie: Messenger, Composer, etc) running, you will need to restart them as well.
4. Go to Edit > Preferences. Under Advanced category > Select Enable Java
 
Old 11-24-2006, 06:07 AM   #9
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Slackware has Java preinstalled. Did you install it when you installed Firefox?

And I have moved this to the Slackware forum.
 
Old 11-24-2006, 08:45 AM   #10
hitest
Guru
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware
Posts: 5,974

Rep: Reputation: 2189Reputation: 2189Reputation: 2189Reputation: 2189Reputation: 2189Reputation: 2189Reputation: 2189Reputation: 2189Reputation: 2189Reputation: 2189Reputation: 2189
Smile

Java works just fine in Slackware out of the box if it is installed.
 
Old 11-24-2006, 07:39 PM   #11
kotnik
Member
 
Registered: Nov 2004
Location: Novi Sad, Serbia
Distribution: Debian, Slackware, Gentoo, openSuSE
Posts: 254

Rep: Reputation: 31
This should get you started:

Code:
$ ls -l /usr/lib/mozilla/plugins/
libjavaplugin_oji.so -> /usr/lib/java/plugin/i386/ns7/libjavaplugin_oji.so*
 
Old 11-24-2006, 09:11 PM   #12
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
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".


Last edited by M$ISBS; 11-24-2006 at 09:19 PM.
 
Old 11-24-2006, 09:32 PM   #13
dx0r515t
Member
 
Registered: Jan 2005
Location: USA
Distribution: Slackware 10.2 & 11.0
Posts: 155

Rep: Reputation: 30
Quote:
Originally Posted by M$ISBS
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".

kotnik means that the output of the command ls -l /usr/lib/mozilla/plugins/ should include this line:
Code:
libjavaplugin_oji.so -> /usr/lib/java/plugin/i386/ns7/libjavaplugin_oji.so*
For example here's my output:
Code:
bash-3.00$ ls -l /usr/lib/mozilla/plugins
total 12
lrwxrwxrwx  1 root root   29 2006-04-21 19:04 gxineplugin.so -> /usr/lib/gxine/gxineplugin.so
lrwxrwxrwx  1 root root   50 2006-04-21 19:01 libjavaplugin_oji.so -> /usr/lib/java/plugin/i386/ns7/libjavaplugin_oji.so
-rwxr-xr-x  1 root root 1092 2005-05-01 18:47 libmozsvgdec.la
-rwxr-xr-x  1 root root 7816 2005-05-01 18:47 libmozsvgdec.so

Last edited by dx0r515t; 11-24-2006 at 09:34 PM.
 
Old 11-24-2006, 09:37 PM   #14
Spinlock
Member
 
Registered: Jan 2006
Location: Missouri
Distribution: Slackware -current, Slackware64 -current, Slackware 12.2
Posts: 150

Rep: Reputation: 24
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.
I can't believe there are distros out there that install grub on the MBR and totally disregard the fact that there were pre-existing OSes on the hard drive(s).
 
Old 11-24-2006, 10:29 PM   #15
Sepero
Member
 
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 734
Blog Entries: 1

Rep: Reputation: 32
Quote:
Originally Posted by Spinlock
I can't believe there are distros out there that install grub on the MBR and totally disregard the fact that there were pre-existing OSes on the hard drive(s).
Lame. Most newbies won't have multiple installs of Linux on the same box anyway. People who are running multiple distros will generally have the skills to adjust their own MBR accordingly.
True, it is a problem, and I'm certain it will be dealt with. I could flame on the deformities your_distro all day if you dared to go down that path. I don't think we really want to do that though.

M$ISBS, dx0r515t is correct, follow his advice.
 
  


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 06:35 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