Wednesday, November 16, 2005

Instalando JAVA

Desde su tutorial:

  • At the terminal: Type:
    sudo
  • Enter the root password.
  • Change to the directory in which you want to install. Type:
    cd
    For example, to install the software in the /usr/java/ directory, Type:
    cd /usr/java/
  • Change the permission of the file you downloaded to be executable. Type:
    chmod a+x jre-1_5_05-linux-i586.bin
  • Start the installation process.Type:
    ./jre-1_5_05-linux-i586.bin
    At the end, enter yes to proceed with the installation.
    The JRE is installed into its own directory. In this example, it is installed in the /usr/java/jre1.5.0_05 directory. When the installation has completed, you will see the word Done.

    The installation is now complete.
    Mozilla Firefox
    1. Go to the plugins sub-directory under the Mozilla installation directory
      cd /plugins
    2. In the current directory, create a symbolic link to the JRE ns7/libjavaplugin_oji.so file Type:
      ln -s /plugin/i386/ns7/libjavaplugin_oji.so

    3. Example:
      • If Mozilla is installed in this directory:
        /usr/lib/mozilla-firefox/
      • and if the JRE is installed at this directory:
        /usr/java/jre1.5.0_05
      • Then type at the terminal to go to the browser plug-in directory:
        cd /usr/lib/mozilla-firefox/plugins
      • Enter the following command to create a symbolic link to the Java Plug-in for the Mozilla browser.
        ln -s /usr/java/jre1.5.0_05/plugin/i386/ns7/libjavaplugin_oji.so .
    4. Start Mozilla browser or restart it if it is already running. Note that if you have other Mozilla components (ie: Messenger, Composer, etc) running, you will need to restart them as well.
    5. Go to Edit > Preferences. Under Advanced category > Select Enable Java

    4 comments:

    Carlos said...

    Te complicaste mucho con Java!

    Debian tiene java-package, que crea un .deb con el archivo .bin:

    fakeroot make-jpkg jre-blablablba.bin

    y luego

    dpkg -i sun-blablabla.deb

    al menos en mi sistema, los plugins y otras cosas funcionan inmediatamente.

    Saludos!

    Psiconauta said...

    jajajaa....weno, lo que no es cachar el atajo no mas poh...yo hago lo que me dicen y le pongo empenho nu mas. Si no me resulta la oficial, aplico googleo

    Carlos said...

    De +

    Es que el fakeroot + make-jpkg es mas seguro porque tu sistema esta protegido contra cambios que puede hacer el binario de sun.

    Pero si funca, eso es lo importante!

    Psiconauta said...

    gracias por el dato, en todo caso!