Last solutions of problems with x64 that worked:
Flash:
just got it from there:
http://labs.adobe.com/downloads/flashplayer10.html
then in terminal:
$ tar -xf libflashplayer-10.0.22.87.linux-x86_64.so.tar.gz
$ sudo cp libflashplayer.so /usr/lib64/mozilla/plugins/
Restart firefox-64 bit;
Youtube is working. Google analytics is also working.
Below are the previous problem solutions that worked in different time
They are working from time to time. (see comments also for details).
Java:
Firefox requested for additional plugin and directed to java page for download. After that, downloaded 32-bit (not x64!) rpm of java from sun.
Warning: if following this guide check java versions,sun updates versions of java, so numbers could be different, and pathes,if such present in the command line.
chmod a+x jre-6u6-linux-i586-rpm.bin
./jre-6u6-linux-i586-rpm.bin
fix alternatives file. Set sun's:
[root@rtgCent Desktop]# /usr/sbin/alternatives --install /usr/bin/java java /usr/lib/jvm/jre-1.4.2-gcj/bin/java 1
[root@rtgCent Desktop]# /usr/sbin/alternatives --install /usr/bin/java java /usr/java/jre1.6.0_06/bin/java 2
[root@rtgCent Desktop]# /usr/sbin/alternatives --config java
There are 2 programs which provide 'java'.
Selection Command
-----------------------------------------------
1 /usr/lib/jvm/jre-1.4.2-gcj/bin/java
*+ 2 /usr/java/jre1.6.0_06/bin/java
Enter to keep the current selection[+], or type selection number:
# ln -s /usr/java/jre1.6.0_06/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so
[root@rtgCent Desktop]# vi /etc/profile.d/java.sh
export J2RE_HOME=/usr/java/jre1.6.0_06
export PATH=$J2RE_HOME/bin:$PATH
save by :wq ; (or use gedit/mousepad/kate if don't like vi) restart firefox,

check,if all working.
Flash
Solution 1:
For CentOS 5.2 firefox 64-bit works better with nsplugnwrapper from the box.
Just reinstall nsplugiwrapper to resolve initial problem with flash that can be.
However java not worked and I moved to 32-bit version of firefox.
Procedure below is related to ff 1.5 and CentOS 5.1, but it works for firefox 3 under centos 5.2 also
Solution 2:
To fix various errors with java and flash under CentOS x64 on my AMD-based home box, I've tried to use nspluginwrapper, manually installed java 64-bit from sun, also various versions of flash from Adobe by downloading rpm and manual install.
Finally problem was not completely solved after that, some issues were with flash, and I haven't got java working.
To solve I just decided to move on 32-bit version.
That way I just stopped Firefox, issued following
su -
[insert pwd]
yum list installed firefox jre
yum remove jre.x86_64
yum remove firefox.x86_64
yum install firefox.i386
and I got flash working without problems on google analytics.

4 comments:
Not working on CentOS 5.2 here. Only flash-plugin (i386) and firefox.i386 installed, but instant crashing with youtube.
Yes, looks like with current dependencies it is not working for the moment.
I will wait until Adobe will support it on 64-bit platform.
For the moment I am using 32-bit Ubuntu on my 64-bit laptop for the browsing and development and don't have any problems.
64-bit OS is still not very user-friendly desktop.
I am using it only as server and compile problems.
If you need desktop Linux, I will recommend you Ubuntu rather than CentOS.
It worked fine on 64-bit centos 5.3 with the alpha release of Adobe's 64-bit Flash player.
Thanks for the help.
OK, here's the deal... SUN FINALLY released a 64 bit plugin with jre-6u13 to get it to work go over to:
http://java.sun.com
Download and install jre-6u13 or higher
then su ln -s /usr/java/latest/lib/amd64/libnpjp2.so /usr/lib64/mozilla/plugins/
and it actually works.
Post a Comment