Somehow new firefox is dropping support for old-version of java.

test your java VM here .

so i just downloaded the bin file from java website .

and put it under this folder : $RPM_BUILD_ROOT/SOURCES

install the necessary tools ..

yum install jpackage-utils -y

with .rpmmacros as below :

%_topdir        %(echo ${HOME}/rpm)
%_tmppath       %{_topdir}/tmp
%packager       Namran Hussin <[email protected]>
%distribution Namran Net
%vendor Namran Dot Net

then i just copied over the old version SPEC file (from the past version source rpm )
and put it under $RPM_BUILD_ROOT/SPEC
with minor modification on the SPEC file for file and some other thing that was missing from the new bin.
download the one that was modified by me from here.
then I just run ..

rpmbuild -ba SPEC/java-1.6.0-21-sun.spec

wait till it completed ..
and collect the result at $RPM_BUILD_ROOT/RPMS

after that to installl ..

yum --nogpgcheck localinstall java-1.6.0-sun-alsa-  java-1.6.0-sun-plugin- -y

after that .. i just created the simlink into /usr/lib/mozilla/plugins/

cd /usr/lib/mozilla/plugins/
ln -s /usr/lib/jvm/java-1.6.0-sun- .

but somehow the firefox 3.6.6 doesn’t even recognized it..

so I opted to this..
added following line into “/etc/yum.conf” to exclude further update of firefox.


download the binary of firefox 3.5 from

cd /tmp/
cd /usr/local/
tar xjfv /tmp/firefox-3.5.10.tar.bz2 
rm -rf /usr/bin/firefox
ln -s /usr/local/firefox/firefox /usr/bin/firefox

then.. that’s it..
point the URL to this ..


shall spit that new java had been recognized..

then test again.. using website..
resulting the following screenshot.