[NTLUG:Discuss] Java - Firefox Plugin

Dennis Kaptain dkaptain at yahoo.com.mx
Sat Nov 22 10:24:13 CST 2008


This works on MY installation of Fedora 8, Your mileage may vary -
If anyone can improve on this, please do. I'm always ready to learn a new trick or two.
Dennis K



#!/bin/bash

# this program creates a symbolic link for firefox to find the java plugin
# use this when you upgrade to a new version of firefox and java won't work

# user MUST be root
if [ `id -u` = 0 ]; then 
   ver=`rpm -q firefox | cut -d '-' -f 2`        # firefox version
   dir=/usr/lib/firefox-$ver/plugins             # firefox plugin path
   pluginPath=`locate ns7/libjavaplugin_oji.so`  # java plugin path
   ln -s $pluginPath $dir/libjavaplugin_oji.so   # make the link
else
   echo Error: You MUST be root to run this command!
fi




----- Mensaje original ----
> De: Randall Weyers <Rwweyers2 at tx.rr.com>
> Para: trryhend at gmail.com; NTLUG Discussion List <discuss at ntlug.org>
> Enviado: sábado, 22 de noviembre, 2008 7:32:05
> Asunto: Re: [NTLUG:Discuss] Java - Firefox Plugin
> 
> Why not create a simple script that makes that link for your clients and
> send it to them
> 
> 


      ¡Todo sobre Amor y Sexo!
La guía completa para tu vida en Mujer de Hoy.                       
http://mx.mujer.yahoo.com/



More information about the Discuss mailing list