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 .
“jre-6u21-linux-i586.bin”
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
%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 ..
cd $RPM_BUILD_ROOT/RPMS/i586
yum --nogpgcheck localinstall java-1.6.0-sun-alsa-1.6.0.21-1jpp.i586.rpm java-1.6.0-sun-plugin-1.6.0.21-1jpp.i586.rpm -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-1.6.0.21/jre/plugin/i386/ns7/libjavaplugin_oji.so .
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.
exclude=opera,openoffice*,firefox
download the binary of firefox 3.5 from http://mozilla.snt.utwente.nl//firefox/releases/3.5.10/linux-i686/en-US/firefox-3.5.10.tar.bz2
cd /tmp/
wget http://mozilla.snt.utwente.nl//firefox/releases/3.5.10/linux-i686/en-US/firefox-3.5.10.tar.bz2
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 ..
about:plugins
shall spit that new java had been recognized..
then test again.. using java.com website..
resulting the following screenshot.
Here are five key communication skills that help you speak with clarity and influence: Speak…
Are you ready to unlock your full potential as a man?Discover powerful insights, real-life transformations,…
One day we will set aside one whole day to review the whole lesson we…
Last weekend, 07/12/2024 I managed to join Dev Fest Kuala Lumpur 2024, organized by Google…
TIPS BACAAN AL-QURANOleh: Dr. Muhd al-Muhaysni.1. Jangan engkau berikan (fokus membaca) al-Quran pada lebihan waktumu…
Selawat yang ringkas, yang mana apabila kamu membacanya satu kali sebanding 100 ribu kali, jadi…
View Comments
Unfortunately .. new version of java causing my firefox died-ed
upon opening the geortd.jar
ps xa | grep firefox | awk '{print $1}' | xargs kill -9
Hmm.. re-installing java-1.6.0-14-1jpp.rpm
seem fine..