Linux Java How-to

Table of contents
No headers

Ubuntu

  • Download the java runtime environment binary:
    1. Go to http://java.sun.com/javase/downloads/index.jsp
    
    2. Scroll down to "Java Runtime Environment (JRE) 6 Update 7"
    
    3. Click on DOWNLOAD
    
    4. Select PLATFORM of Linux
    
    5. Select LANGUAGE of Multi-language
    
    6. Check "I agree..."
    
    7. Click CONTINUE
    
    8. Click jre-6u7-linux-i586.bin link
    
    9. Save the file
    

  • Once the download completes, move the file to your HOME directory.

  • Click Applications > Accessories > Terminal

  • Install the JRE binary:
    sudo chmod a+x ./jre-6u7-linux-i586.bin
    
    sudo ./jre-6u7-linux-i586.bin
    

  • Once the installation completes, create a shortcut for your Mozilla Plugins:
    sudo mkdir /home/<username>/.mozilla/plugins
    sudo ln -s /home/<username>/jre1.6.0_07/i386/ns7/libjavaplugin_oji.so /home/<username>/.mozilla/plugins/libjavaplugin_oji.so

  • Start Songbird

  • Open a new tab

  • Type about:plugins into the URL bar and press ENTER
    You should see a Java Plugin listed

  • Go to http://firenes.zaldo.com.ar/emulador...%20Bros%20(JU)
    The applet should load momentarily

 

Fedora

  • Download the java runtime environment binary:
    1. Go to http://java.sun.com/javase/downloads/index.jsp
    
    2. Scroll down to "Java Runtime Environment (JRE) 6 Update 7"
    
    3. Click on DOWNLOAD
    
    4. Select PLATFORM of Linux
    
    5. Select LANGUAGE of Multi-language
    
    6. Check "I agree..."
    
    7. Click CONTINUE
    
    8. Click jre-6u7-linux-i586.bin link
    
    9. Save the file
    

  • Once the download completes, move the file to your HOME directory.

  • Click Applications > System Tools > Terminal

  • Install the JRE binary:
    su
    
    ENTER YOUR PASSWORD
    
    chmod a+x ./jre-6u7-linux-i586.bin
    
    ./jre-6u7-linux-i586.bin
    

  • Once the installation completes, create a shortcut for your Mozilla Plugins:
    mkdir /home/<username>/.mozilla/plugins
    ln -s /home/<username>/jdk1.6.0_07/jre/plugin/i386/ns7/libjavaplugin_oji.so /home/<username>/.mozilla/plugins/libjavaplugin_oji.so

  • Start Songbird

  • Open a new tab

  • Type about:plugins into the URL bar and press ENTER
    You should see a Java Plugin listed

  • Go to http://firenes.zaldo.com.ar/emulador...%20Bros%20(JU)
    The applet should load momentarily

 

Tag page
Viewing 2 of 2 comments: view all
I changed the pathname of the Ubuntu version, since that is the only one I have tried.

From: ln -s /home/<username>/jdk1.6.0_07/jre/plugin/i386/ns7/libjavaplugin_oji.so to ln -s /home/<username>/jre1.6.0_07/plugin/i386/ns7/libjavaplugin_oji.so

In other words, I changed jdk1.6.0_07/jre to jre1.6.0_07. Hope this can help other people, note that it's the same the Fedora version, but I haven't changed that one.
Posted 14:06, 18 Aug 2008
cats /home//jdk1.6.0_07/jre/plugin/i386/ns7/libjavaplugin_oji.so to ln -s /home//jre1.6.0_07/plugin/i386/ns7/libjavaplugin_oji.so In other words, I changed jdk1.6.0_07/jre to jre1.6.0_07. Hope this can help
Posted 02:00, 19 Nov 2008
Viewing 2 of 2 comments: view all
You must login to post a comment.