Re: Firefox & Java

2005-09-13 Thread Alex Zbyslaw

Beecher Rintoul wrote:


On Tuesday 13 September 2005 12:56 am, Alex Zbyslaw wrote:
 


Beecher Rintoul wrote:
   


I am attempting to get java working with firefox. I have both jdk 1.4 and
1.5 installed. Per google, I symlinked libjavaplugin_oji.so
to /usr/X11R6/lib/browser_plugins, but firefox doesn't work with either
jdk. No errors, just comes up saying plugin required. What else do I need
to do? I'd like to use 1.5 if possible.
 


For a start show us:

 /bin/ls -l /usr/X11R6/lib/browser_plugins
   



stargate# /bin/ls -l /usr/X11R6/lib/browser_plugins
total 20
lrwxr-xr-x  1 root  wheel 78 Sep 13 01:45 libjavaplugin_oji.so 
-> /usr/local/linux-sun-jdk1.4.2/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
 


and then

 /bin/ls -lL /usr/X11R6/lib/browser_plugins
   



stargate# /bin/ls -lL /usr/X11R6/lib/browser_plugins
total 2726
-rwxrwxr-x  1 root  wheel   281996 Mar  4  2005 libjavaplugin_oji.so


OK, you got the link right, so it's not that.

Two more suggestions:

what does "about:plugins" show?  Type it into the firefox address bar.  
It should show you all the plugins being recognised, and mine includes 
Java, Acrobat. Flash etc.
If it isn't showing java then *maybe* it's that firefox doesn't like the 
linux version of the java plugin.  I'm using the native FreeBSD version 
(ports/java/jdk14), so maybe installing that would help.


I'm supposing that for the linux version to work you would have to have 
linux compatibility enabled, either in your kernel or as a loadable 
module.  (As root) what does

   kldload linux
show?  Mine is loaded and I get:

# kldload linux
kldload: can't load linux: File exists

If you get no error, then try restarting firefox and seeing if java now 
works.  If it does then you need to make sure that linux module gets 
loaded at boot time:


# echo linux_load="YES" >> /boot/loader.conf

--Alex





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Firefox & Java

2005-09-13 Thread Beecher Rintoul
On Tuesday 13 September 2005 12:56 am, Alex Zbyslaw wrote:
> Beecher Rintoul wrote:
> >I am attempting to get java working with firefox. I have both jdk 1.4 and
> > 1.5 installed. Per google, I symlinked libjavaplugin_oji.so
> >to /usr/X11R6/lib/browser_plugins, but firefox doesn't work with either
> > jdk. No errors, just comes up saying plugin required. What else do I need
> > to do? I'd like to use 1.5 if possible.
>
> For a start show us:
>
>   /bin/ls -l /usr/X11R6/lib/browser_plugins

stargate# /bin/ls -l /usr/X11R6/lib/browser_plugins
total 20
-rw-r--r--  1 root  wheel  0 Sep 11 00:57 .firefox.keep
lrwxr-xr-x  1 root  wheel 49 Sep 10 12:16 flashplayer.xpt 
-> /usr/X11R6/lib/linux-flashplugin6/flashplayer.xpt
lrwxr-xr-x  1 root  wheel 51 Sep 10 12:16 libflashplayer.so 
-> /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
lrwxr-xr-x  1 root  wheel 78 Sep 13 01:45 libjavaplugin_oji.so 
-> 
/usr/local/linux-sun-jdk1.4.2/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
-rwxr-xr-x  1 root  wheel  19350 Sep  3 20:16 libnpflash.so
lrwxr-xr-x  1 root  wheel 47 Sep 10 12:16 nphelix.so 
-> /usr/X11R6/lib/linux-mozilla/plugins/nphelix.so
lrwxr-xr-x  1 root  wheel 48 Sep 10 12:16 nphelix.xpt 
-> /usr/X11R6/lib/linux-mozilla/plugins/nphelix.xpt
lrwxr-xr-x  1 root  wheel 68 Sep 10 12:16 nppdf.so 
-> /compat/linux/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so

>
> and then
>
>   /bin/ls -lL /usr/X11R6/lib/browser_plugins

stargate# /bin/ls -lL /usr/X11R6/lib/browser_plugins
total 2726
-rw-r--r--  1 root  wheel0 Sep 11 00:57 .firefox.keep
-r--r--r--  1 root  wheel  856 Sep  7 22:58 flashplayer.xpt
-r--r--r--  1 root  wheel  1470464 Sep  7 22:58 libflashplayer.so
-rwxrwxr-x  1 root  wheel   281996 Mar  4  2005 libjavaplugin_oji.so
-rwxr-xr-x  1 root  wheel19350 Sep  3 20:16 libnpflash.so
-r--r--r--  1 root  wheel57457 Sep  7 23:23 nphelix.so
-r--r--r--  1 root  wheel 5086 Sep  7 23:23 nphelix.xpt
-rwxr-xr-x  1 root  wheel   878568 Jul 27 14:10 nppdf.so

>
> Firefox with 1.4 works fine for me, so maybe you just didn't get the
> links right.
>
> --Alex

Hope this helps, I'd really like to get it working.

Beech
-- 
---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \ 
---













pgpGiyHzqWa1t.pgp
Description: PGP signature


Re: Firefox & Java

2005-09-13 Thread Alex Zbyslaw

Beecher Rintoul wrote:

I am attempting to get java working with firefox. I have both jdk 1.4 and 1.5 
installed. Per google, I symlinked libjavaplugin_oji.so 
to /usr/X11R6/lib/browser_plugins, but firefox doesn't work with either jdk. 
No errors, just comes up saying plugin required. What else do I need to do? 
I'd like to use 1.5 if possible.
 


For a start show us:

 /bin/ls -l /usr/X11R6/lib/browser_plugins

and then

 /bin/ls -lL /usr/X11R6/lib/browser_plugins

Firefox with 1.4 works fine for me, so maybe you just didn't get the 
links right.


--Alex

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Firefox & Java

2005-09-12 Thread Beecher Rintoul
I am attempting to get java working with firefox. I have both jdk 1.4 and 1.5 
installed. Per google, I symlinked libjavaplugin_oji.so 
to /usr/X11R6/lib/browser_plugins, but firefox doesn't work with either jdk. 
No errors, just comes up saying plugin required. What else do I need to do? 
I'd like to use 1.5 if possible.

TIA,

Beech
-- 
---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \ 
---













pgpCeP6bMqml5.pgp
Description: PGP signature


Re: Firefox, java, plugins - need to go back to the port?

2005-02-15 Thread Warren Block
On Tue, 15 Feb 2005, John wrote:
Oh my goodness!  There's a TON of "libjavapuglin_*.so" files.
How do I know which one to use?
Look at the Makefile in /usr/ports/www/firefox.  It looks for several 
different versions of the plugin.

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Firefox, java, plugins - need to go back to the port?

2005-02-15 Thread John
On Tue, Feb 15, 2005 at 07:37:28PM +0100, Roland Smith wrote:
> On Tue, Feb 15, 2005 at 12:03:06PM -0600, John wrote:
> > On Fri, Feb 11, 2005 at 08:30:55PM -0600, John wrote:
> > > I installed firefox from the packages, and now that it seems
> > > like I may have Java installed, I'd like to get the two to play
> > > together.
> 
> > No-one have an anwer or a pointer for me? Is it necessary to install
> > the JDK (or JRE if we ever get one again) and then build firefox from
> > ports to get the Java plug-in?
> 
> See if you can find the plugin shared library in the java port (IIRC,
> its name is libjavaplugin_oji.so) and stick that in firefox' plugin
> directory. 

Oh my goodness!  There's a TON of "libjavapuglin_*.so" files.

How do I know which one to use?
-- 

John Lind
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Firefox, java, plugins - need to go back to the port?

2005-02-15 Thread Roland Smith
On Tue, Feb 15, 2005 at 12:03:06PM -0600, John wrote:
> On Fri, Feb 11, 2005 at 08:30:55PM -0600, John wrote:
> > I installed firefox from the packages, and now that it seems
> > like I may have Java installed, I'd like to get the two to play
> > together.

> No-one have an anwer or a pointer for me? Is it necessary to install
> the JDK (or JRE if we ever get one again) and then build firefox from
> ports to get the Java plug-in?

See if you can find the plugin shared library in the java port (IIRC,
its name is libjavaplugin_oji.so) and stick that in firefox' plugin
directory. 

HTH,

Roland
-- 
R.F. Smith   /"\ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
public key: http://www.keyserver.net / \Respect for open standards


pgpvYSofSh8E8.pgp
Description: PGP signature


Re: Firefox, java, plugins - need to go back to the port?

2005-02-15 Thread Kent Stewart
On Tuesday 15 February 2005 10:03 am, John wrote:
> On Fri, Feb 11, 2005 at 08:30:55PM -0600, John wrote:
> > I installed firefox from the packages, and now that it seems
> > like I may have Java installed, I'd like to get the two to play
> > together.
> >
> > I see a few different firefox plugins in /usr/ports/www, but no
> > java, and I don't see any references to firefox or plugs in
> > /usr/ports/java - clearly, I'm missing a piece of the puzzle.
> >
> > All my hits on google have talked about rebuilding the port
> > after Java is installed.  Is that what I have to do?  Is there
> > no way to get a java plugin without rebuilding the whole port?
>
> No-one have an anwer or a pointer for me? Is it necessary to install
> the JDK (or JRE if we ever get one again) and then build firefox from
> ports to get the Java plug-in?

That isn't where you look from my experience. I have
/usr/local/jdk1.4.2/bin/java
and it changes with the version. That is what I add in mozilla.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Firefox, java, plugins - need to go back to the port?

2005-02-15 Thread John
On Fri, Feb 11, 2005 at 08:30:55PM -0600, John wrote:
> I installed firefox from the packages, and now that it seems
> like I may have Java installed, I'd like to get the two to play
> together.
> 
> I see a few different firefox plugins in /usr/ports/www, but no
> java, and I don't see any references to firefox or plugs in
> /usr/ports/java - clearly, I'm missing a piece of the puzzle.
> 
> All my hits on google have talked about rebuilding the port
> after Java is installed.  Is that what I have to do?  Is there
> no way to get a java plugin without rebuilding the whole port?

No-one have an anwer or a pointer for me? Is it necessary to install
the JDK (or JRE if we ever get one again) and then build firefox from
ports to get the Java plug-in?
-- 

John Lind
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Firefox, java, plugins - need to go back to the port?

2005-02-11 Thread John
I installed firefox from the packages, and now that it seems
like I may have Java installed, I'd like to get the two to play
together.

I see a few different firefox plugins in /usr/ports/www, but no
java, and I don't see any references to firefox or plugs in
/usr/ports/java - clearly, I'm missing a piece of the puzzle.

All my hits on google have talked about rebuilding the port
after Java is installed.  Is that what I have to do?  Is there
no way to get a java plugin without rebuilding the whole port?

Thanks.
-- 

John Lind
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"