Ver Mensaje Individual
  #1 (permalink)  
Antiguo 26/02/2007, 12:48
jglorenzosqr
 
Fecha de Ingreso: octubre-2005
Mensajes: 778
Antigüedad: 18 años, 7 meses
Puntos: 1
Instalé JRE de sun en mozilla-firefox y plugins no se activan

Mi equipo tiene Debian 3.1, y Mozilla-Firefox 1.0.4. Primeramente descargué JRE desde la web :
http://java.sun.com/j2se/1.5.0/jre/install.html

Descargó el archivo :
jre-1_5_0_10-linux-i586.bin

# mv Desktop/jre-1_5_0_09-linux-i586.bin /usr/java
# cd /usr/java

Agregamos el permiso de ejecución al script de instalación y lo ejecutamos:
# chmod a+x jre-1_5_0_10-linux-i586.bin
# ./jre-1_5_0_10-linux-i586.bin

Al terminal la instalación, debemos enlazar java con Firefox de la siguiente forma:
# cd /usr/lib/mozilla-firefox/plugins/
# ln -s /usr/java/jre.5.0.10/plugins/i386/ns7/libjavaplugin_oji.so

Cerramos Firefox en caso de que estuviera abierto y comprobamos la instalación pulsando en el siguiente enlace:

http://www.java.com/es/download/help/testvm.xml
Pues este web no muestra el icono que determina que el plugin funciona, por lo cual recomienda instalar jre, ¡cuando ya lo hice!


Luego intenté de esta otra manera :

#sudo apt-get install java-package fakeroot
#fakeroot make-jpkg jre-1_5_0_09-linux-i586.bin
Creating temporary diretory: /tmp/make-jpkg.XXXX9wOfbC
Loading plugins: blackdown-j2re.sh blackdown-j2sdk.sh common.sh ibm-j2re.sh ibm-j2sdk.sh j2re.sh j2sdk.sh j2se.sh sun-j2re.sh sun-j2sdk.sh

No matching plugin was found.
Removing temporary directory: done


Según averigué en internet, debió haber mostrado lo siguiente :
#fakeroot make-jpkg jre-1_5_0_09-linux-i586.bin
Creating temporary directory: /tmp/make-jpkg.ZoaAG11216
Loading plugins: blackdown-j2re.sh blackdown-j2sdk.sh common.sh ibm-j2re.sh ibm-j2sdk.sh j2re.sh j2sdk-doc.sh j2sdk.sh j2se.sh sun-j2re.sh sun-j2sdk-doc.sh sun-j2sdk.sh

Detected Debian build architecture: i386
Detected Debian GNU type: i486-linux-gnu

Detected product:
Java(TM) Runtime Environment (JRE)
Standard Edition, Version 1.5.0+update09
Sun Microsystems(TM), Inc.
Is this correct [Y/n]: y

Checking free diskspace: done.

In the next step, the binary file will be extracted. Probably a license agreement will be displayed. Please read this agreement carefully. If you do not agree to the displayed license terms, the package will not be built.

Press [Return] to continue:

Sun Microsystems, Inc. Binary Code License Agreement

<license agreement>
Do you agree to the above license terms? [yes or no]
yes

<long list of extracted files>

The Debian package has been created in the current directory. You can install the package as root (e.g. dpkg -i sun-j2re1.5_1.5.0+update09_i386.deb)

También vuelvo a testear los plugins en firefox en http://www.java.com/es/download/help/testvm.xml, y nada.

Parece ser que según la web de Sun Microsystems este proceso sirve en Suse Linux y Red Hat. Pero en internet informan que funciona en UBuntu, Debian, Fedora, Molinux.