How to get Java to work in Firefox

General support questions including new installations
Lenard
Posts: 2283
Joined: 2005/11/29 02:35:25
Location: Indiana

Re: How to get Java to work in Firefox

Post by Lenard » 2007/07/04 10:46:43

Redo the java configuration steps in post #14 of this thread.

andithiel
Posts: 2
Joined: 2007/07/05 21:01:08

Re: How to get Java to work in Firefox

Post by andithiel » 2007/07/06 06:20:30

There still seems to be the issue that there is simply no java plugin for AMD64 on Linux, regardless of the java version. I.e. inside jre-6u1-linux-amd64.rpm there is neither a plugin directory nor you can find the lib libjavaplugin_oji.so anywhere after installation. It seems to be the case that for some reason Sun has decided not to support jre plugins on AMD64 under Linux.

There are some hints that blackdown (www.blackdown.org) has a jre with plugin lib for AMD64. But I did also read that this is not very stable.

I'm now also a bit stranded cause I have this AMD64 Centos 4.5 machine and I need a web browser which has java enabled. I'm completely easy on the selction of the browser, it can be anything, even a netscape >= 4.5.1 would be sufficient. It just has to have java. I need it because the help system of my CAD software relies on web browser with java...

Any help would be greatly appreciated!
Andy

Lenard
Posts: 2283
Joined: 2005/11/29 02:35:25
Location: Indiana

Re: How to get Java to work in Firefox

Post by Lenard » 2007/07/06 10:11:18

Then remove the 64-bit browsers, firefox and seamonkey(if installed) and install the 32-bit versions;

rpm -e firefox-.x86_64

yum install firefox.i386

One can even mix and math if desired;
$ rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}\n" firefox seamonkey
seamonkey-1.1.2-1.fc7.i386
firefox-2.0.0.4-2.fc8.x86_64

Blackdown's 64-bit jre package while not the greatest is stable. And there are rumors of 64-bit jre with the next version of java but do not hold your breath.

andithiel
Posts: 2
Joined: 2007/07/05 21:01:08

Re: How to get Java to work in Firefox

Post by andithiel » 2007/07/06 11:17:45

Hi,

thanks. I did find your instructions on blackdown in http://www.centos.org/modules/newbb/viewtopic.php?topic_id=8857&forum=38&post_id=28203#forumpost28203. Seems to work for me with 64 bit firefox.

Andi

km4hr
Posts: 60
Joined: 2005/03/16 19:12:47

Re: How to get Java to work in Firefox

Post by km4hr » 2007/07/10 18:22:56

Lenard,

Thanks VERY much for the detailed instructions. I followed them to the letter and got exactly the same results you showed for every command. Unfortunately I'm still not working.

Looks like john_coach is having the same bad luck as me. I wonder if he ever got going.

There must be something simple we're overlooking. If it's truly this hard to install java then I doubt there are many users. It hasn't been this hard in the past. Maybe MS has had a hand in the installation process. It would be an excellent way to kill Java.

Does Firefox keep any log file that might show errors that could lead to a solution?

User avatar
WhatsHisName
Posts: 1549
Joined: 2005/12/19 20:21:43
Location: /earth/usa/nj

Re: How to get Java to work in Firefox

Post by WhatsHisName » 2007/07/11 01:13:40

While setting up an old P3 system to use as a motion server for collecting network camera images, I ran into the problem of not being able to get jre-6u1-linux-i586/ jre-1.6.0_01-fcs.i586 to work under CentOS5.0-i386. And the source of the problem just isn?t obvious (to me).

I have not seen this problem under CentOS5.0-x86_64, using firefox.i386 as I described in post #8 of this thread.

The previous jre-1.5.0_11 release does work. For those of you needing something that works now, download and install the old release from http://java.sun.com/products/archive listed under ?Java 2 Platform Standard Edition (J2SE) >> JDK/JRE - 5.0".

It is simplest to first ?yum remove jre? and then to install the old version, but the old version can be installed with the new version in place by using the ?rpm -ivh --oldpackage? option to install the unpacked jre-1_5_0_11-linux-i586.rpm

km4hr
Posts: 60
Joined: 2005/03/16 19:12:47

Re: How to get Java to work in Firefox

Post by km4hr » 2007/07/11 20:06:06

[quote]
WhatsHisName wrote:
While setting up an old P3 system to use as a motion server for collecting network camera images, I ran into the problem of not being able to get jre-6u1-linux-i586/ jre-1.6.0_01-fcs.i586 to work under CentOS5.0-i386. And the source of the problem just isn?t obvious (to me).

I have not seen this problem under CentOS5.0-x86_64, using firefox.i386 as I described in post #8 of this thread.

The previous jre-1.5.0_11 release does work. For those of you needing something that works now, download and install the old release from http://java.sun.com/products/archive listed under ?Java 2 Platform Standard Edition (J2SE) >> JDK/JRE - 5.0".

It is simplest to first ?yum remove jre? and then to install the old version, but the old version can be installed with the new version in place by using the ?rpm -ivh --oldpackage? option to install the unpacked jre-1_5_0_11-linux-i586.rpm[/quote]


Bingo! This works! First time, no problem. Installation is easy and straight forward, just like in the good old days.
Must be something wrong with the latest jre from SUN.

thanks

User avatar
WhatsHisName
Posts: 1549
Joined: 2005/12/19 20:21:43
Location: /earth/usa/nj

Re: How to get Java to work in Firefox

Post by WhatsHisName » 2007/07/11 23:08:16

This just keeps getting stranger...

One of my CentOS5.0-x86_64 systems would not run previously installed jre-1.6.0-fcs by way of firefox.i386 and I am positive that I tested it after installing it.

So I downloaded/installed jre-1.6.0_01-fcs, closed/reopened firefox.i386 and java ran without a problem, or so I thought. When I closed/reopened firefox a second time, java would no longer run. But firefox.i386 consistently runs jre-1.5.0_11-fcs without any problems.

Removed/reinstalled jre-1.6.0_01-fcs several times and sometimes java would run the first time and sometimes it wouldn?t, but never after closing/reopening firefox a second time. At least now I understand how I could install/test jre-1.6.0-fcs and not see a problem.

And I have a second, identical system that runs jre-1.6.0_01-fcs without a problem.

Like I said, this just keeps getting stranger.

patricia
Posts: 2
Joined: 2007/07/12 09:52:13

Re: How to get Java to work in Firefox

Post by patricia » 2007/07/12 10:01:29

Glad to know that Java works in FF......... because i never tried..

mark0419
Posts: 1
Joined: 2007/07/12 15:17:59

Re: How to get Java to work in Firefox

Post by mark0419 » 2007/07/12 15:23:08

I had been having the same problems as the other posters here. The jre-6u1 install worked ok, but the plugin never executed. This appears to be a libdeploy.so linking issue which causes problems with javaws and plugins.

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6542512

Post Reply