[NTLUG:Discuss] Java - Firefox Plugin

Dennis Kaptain dkaptain at yahoo.com.mx
Sun Nov 23 14:39:32 CST 2008





----- Mensaje original ----
> De: Kenneth Loafman <kenneth at loafman.com>
> Para: NTLUG Discussion List <discuss at ntlug.org>
> Enviado: sábado, 22 de noviembre, 2008 11:07:51
> Asunto: Re: [NTLUG:Discuss] Java - Firefox Plugin
> 
> The only problem I see with this script is that if there are more than
> one ns7/libjavaplugin_oji.so files in the system, e.g. one extracted
> from a tar file and one installed.
> 
> Fix is:
>     pluginPath=`locate ns7/libjavaplugin_oji.so | head 1`
> 
> Or maybe just punt if there are more than one located.  Of course, this
> assumes that locate is running, which may not be active on recent Ubuntu
> systems.
> 
> ...Ken

Ken,
That's a good suggestion. I've just implemented it on my system. 
I really had a problem figuring out how to find the path to the plugin .so file. I'm not really happy using locate the way I am. I am particularly not fond of including the ns7 in the argument to locate since I don't know for a fact that it won't change in the future. But without the ns7 there are too many results returned.
I'm open to suggestions. 

Dennis K



      Premios MTV 2008¡En exclusiva! Fotos, nominados, videos, y mucho más! Mira aquí http://mtvla.yahoo.com/



More information about the Discuss mailing list