Results 1 to 7 of 7

Thread: HOWTO: J2sdk java with firefox plugins

  1. #1
    Join Date
    Dec 2004
    Location
    Santiago, Chile
    Beans
    311
    Distro
    Ubuntu Breezy 5.10

    Arrow HOWTO: J2sdk java with firefox plugins

    Here's an easy way to install java sdk 1.5 with firefox plugins.
    Just follow these steps:

    1. Add backports-extra to your repositories list:
    Code:
    sudo gedit /etc/apt/sources.list
    In the last line, add this (if not present):
    Code:
    deb http://backports.ubuntuforums.org/backports hoary-extras main universe multiverse restricted
    2. Update your apt-get info:
    Code:
    sudo apt-get update
    3. Install the java sdk package:
    Code:
    sudo apt-get install sun-j2sdk1.5
    4. Now open a console and type this:
    Code:
    sudo ln -sf /usr/lib/j2sdk1.5-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so /etc/alternatives/firefox-javaplugin.so
    5. Open up firefox (close it and open it again if you had it open), and type this in the address bar:
    Code:
    about:plugins
    You should see a "Java(TM) Plug-in 1.5.0_02-b09" Section.

    Enjoy

    PD: Sadly enough, I haven't downloaded the jre package yet, so I cant give exact instrucions, but it should be among the same lines... Good luck.

  2. #2
    Join Date
    Feb 2005
    Beans
    Hidden!

    Re: HOWTO: J2sdk java with firefox plugins

    I believe this topic has been dealt with several times.
    1. http://www.ubuntulinux.org/wiki/Java
    2-4. The several scripts here
    5-11. The 7 different steps on http://www.ubuntulinux.org/wiki/Java

    Nonetheless, I suppose it's still good.
    BTW, making a debian package automatically makes Java work systemwide [firefox, etc].
    Sylvia: Look at what you've done to him!
    Christof: I have given Truman the chance to lead a normal life. The world, the place you live in, is the sick place.

  3. #3
    Join Date
    Dec 2004
    Location
    Santiago, Chile
    Beans
    311
    Distro
    Ubuntu Breezy 5.10

    Re: HOWTO: J2sdk java with firefox plugins

    Quote Originally Posted by bored2k
    I believe this topic has been dealt with several times.
    1. http://www.ubuntulinux.org/wiki/Java
    2-4. The several scripts here
    5-11. The 7 different steps on http://www.ubuntulinux.org/wiki/Java

    Nonetheless, I suppose it's still good.
    BTW, making a debian package automatically makes Java work systemwide [firefox, etc].
    its just that I tried them all and had several problems myself. I thought it would be nice to have these instructions posted here.

    Anyway, I dont know why the firefox plugin doesnt work out of the box... I should ask jdong that :S

  4. #4
    Join Date
    Feb 2005
    Beans
    Hidden!

    Re: HOWTO: J2sdk java with firefox plugins

    Quote Originally Posted by RastaMahata
    its just that I tried them all and had several problems myself. I thought it would be nice to have these instructions posted here.

    Anyway, I dont know why the firefox plugin doesnt work out of the box... I should ask jdong that :S
    I'm not saying your guide is bad, I just used my argument as an excuse to post other options for newbies . Anyway, the debian package I created through step 5 automatically made java links for firefox. I believe jdong's did too. You sure theyre not there for you ?
    Sylvia: Look at what you've done to him!
    Christof: I have given Truman the chance to lead a normal life. The world, the place you live in, is the sick place.

  5. #5
    Join Date
    May 2005
    Beans
    3

    Re: HOWTO: J2sdk java with firefox plugins

    Thanks you for your post RastaMahata!!
    I just install sdk and things went smoothly.

  6. #6
    Join Date
    Dec 2004
    Location
    Santiago, Chile
    Beans
    311
    Distro
    Ubuntu Breezy 5.10

    Re: HOWTO: J2sdk java with firefox plugins

    Quote Originally Posted by bored2k
    I'm not saying your guide is bad, I just used my argument as an excuse to post other options for newbies . Anyway, the debian package I created through step 5 automatically made java links for firefox. I believe jdong's did too. You sure theyre not there for you ?
    Well, they're not there with j2sdk... maybe they are with jre :/

  7. #7
    Join Date
    Jun 2005
    Beans
    9

    Re: HOWTO: J2sdk java with firefox plugins

    Thanks for the tips.

    Just to add that the main repo of the backport project seems to be disabled from public access. So you need to use one of the mirrors they provide instead.

    Ref: http://backports.ubuntuforums.org/

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •