Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 21
Hi today i have installed firefox 1.0 the stable version(is out from the 11-9) not the preview. Yeah,the browser is greath but there's a problem:i cant make java work on ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2004
    Posts
    11

    how to make java work on firefox 1.0(not PR)??


    Hi today i have installed firefox 1.0 the stable version(is out from the 11-9) not the preview.
    Yeah,the browser is greath but there's a problem:i cant make java work on it.
    I have installed the j2sdk 1.4.2_05 and i have correctly setted the java_home and the path but the broeser is unable to interpreter the java code.

    I try to follow the steps defined into the mozilla faq but... it dosent work.
    the link is that:

    http://www.mozilla.org/support/firefox/faq.html#q2.2

    Any suggestion idea is well accepted.
    Tnks for the attention.

  2. #2
    Linux Guru
    Join Date
    Mar 2003
    Location
    Wisconsin
    Posts
    1,907
    Are you sure you copied usr/java/j2re1.4.2_01/plugin/i386/ns610-gcc32/libjavaplugin_oji.so to the correct directory?

    What's the error you get when viewing a java page?
    Jeremy
    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

  3. #3
    Just Joined!
    Join Date
    Aug 2004
    Posts
    11
    Sorry now i'm a bit tired and i have created a new topic and not only a reply... i'm really sorry...

    Yes im sure abot that.
    I have put it in [my firefox installation path]/plugins.

    When i open a page firefox simply can't interpreter java and it simply say that need a plugin(as well as well if the plugin is not installed).
    ..and when it try to find it from the mozilla site says that i have to install it manually.

    I don't know what else i can do.
    Thanks for you reply.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux User sheds's Avatar
    Join Date
    Nov 2004
    Location
    ??????????
    Posts
    342
    You usually have to link using "ln" the directory where you installed java to the directory plugins used by firefox. Let me look if i can come up with the exact line in my case i had to write. I just have to surf backwards on a terminal and i'll get back to you.

    Found it, maybe this will help:

    ln -s /usr/java/j2sdk1.4.2_06/jre/plugin/i386/ns610/libjavaplugin_oji.so /usr/lib/mozilla-1.3/plugins/libjavaplugin_oji.so

    I don't use firefox, but maybe the same thing can be applied.

  6. #5
    Just Joined!
    Join Date
    Aug 2004
    Posts
    11
    That is exactly what i have done.
    I have created the link with ln -s as well as you described to me.and put it in my plugin directory but it dosen't work!(This are the instruction desribed in the mozilla F.A.Q)

    what is the broweser you are using?
    I can try with it if you tell me that you have no problem with the java application...
    thank you...

    I can't understand why it dosen't work under firefox too!!That ere the instruction from the official site.i'm really frustated

  7. #6
    Linux Guru
    Join Date
    Mar 2003
    Location
    Wisconsin
    Posts
    1,907
    Often times, there are several paths to firefox. It's possible that you didn't create the link in the correct directory. For example, I have /usr/lib/mozilla, /usr/lib/mozilla-1.4, /usr/lib/mozilla-firefox. Can you show us the output of

    Code:
    ls -l /usr/lib/mozilla*
    It may not be /usr/lib, if it isn't, replace it w/ where ever your mozilla installs.
    Thanks,
    Jeremy
    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

  8. #7
    Just Joined!
    Join Date
    Aug 2004
    Posts
    11
    The output of the code is that:

    Code:
    -rw-rw-r--  1 the_dark the_dark     219 nov  7 13:27 browserconfig.properties
    drwxr-xr-x  4 the_dark the_dark    4096 nov 10 13:36 chrome/
    drwxr-xr-x  3 the_dark the_dark    4096 nov 10 13:36 components/
    -rw-r--r--  1 the_dark the_dark      24 nov 10 13:36 components.ini
    drwxr-xr-x  5 the_dark the_dark    4096 nov 10 13:36 defaults/
    -rw-r--r--  1 the_dark the_dark      24 nov 10 13:36 defaults.ini
    drwxr-xr-x  3 the_dark the_dark    4096 nov 10 13:36 extensions/
    -rwxr-xr-x  1 the_dark the_dark    6334 nov  7 13:27 firefox*
    -rwxr-xr-x  1 the_dark the_dark 9771152 nov  7 13:27 firefox-bin*
    drwxr-xr-x  2 the_dark the_dark    4096 nov 10 13:36 greprefs/
    drwxr-xr-x  2 the_dark the_dark    4096 nov 10 13:36 icons/
    -rw-r--r--  1 the_dark the_dark   39000 nov 10 13:36 install.log
    lrwxrwxrwx  1 the_dark the_dark      57 nov 10 14:27 libjavaplugin_oji.so -> /j2sdk1.4.2_05/jre/plugin/i386/ns610/libjavaplugin_oji.so
    -rwxrwxr-x  1 the_dark the_dark  449428 nov  7 13:27 libmozjs.so*
    -rwxrwxr-x  1 the_dark the_dark  177164 nov  7 13:27 libnspr4.so*
    -rwxrwxr-x  1 the_dark the_dark  409468 nov  7 13:27 libnss3.so*
    -rwxrwxr-x  1 the_dark the_dark  198152 nov  7 13:27 libnssckbi.so*
    -rwxrwxr-x  1 the_dark the_dark   15272 nov  7 13:27 libplc4.so*
    -rwxrwxr-x  1 the_dark the_dark    8240 nov  7 13:27 libplds4.so*
    -rwxrwxr-x  1 the_dark the_dark  134188 nov  7 13:27 libsmime3.so*
    -rw-rw-r--  1 the_dark the_dark     476 nov  7 13:27 libsoftokn3.chk
    -rwxrwxr-x  1 the_dark the_dark  419824 nov  7 13:27 libsoftokn3.so*
    -rwxrwxr-x  1 the_dark the_dark  125824 nov  7 13:27 libssl3.so*
    -rwxrwxr-x  1 the_dark the_dark   94888 nov  7 13:27 libxpcom_compat.so*
    -rwxrwxr-x  1 the_dark the_dark  665424 nov  7 13:27 libxpcom.so*
    -rwxrwxr-x  1 the_dark the_dark    7736 nov  7 13:27 libxpistub.so*
    lrwxrwxrwx  1 the_dark the_dark      16 nov 11 17:51 mozilla -> /usr/lib/mozilla/
    lrwxrwxrwx  1 the_dark the_dark      21 nov 11 17:51 mozilla-1.6 -> /usr/lib/mozilla-1.6//
    -rwxrwxr-x  1 the_dark the_dark  236607 nov  7 13:27 mozilla-xremote-client*
    drwxr-xr-x  2 the_dark the_dark    4096 nov 10 23:06 plugins/
    -rw-rw-r--  1 the_dark the_dark     335 nov 10 13:36 registry
    drwxr-xr-x  8 the_dark the_dark    4096 nov 10 13:36 res/
    -rwxrwxr-x  1 the_dark the_dark   10897 nov  7 13:27 run-mozilla.sh*
    drwxr-xr-x  2 the_dark the_dark    4096 nov 10 13:36 searchplugins/
    -rwxrwxr-x  1 the_dark the_dark  147484 nov  7 13:27 xpicleanup*
    i hope it can be usefull.
    ..the path where i have installed firefox is[my home]/firefox
    and i have created the link in this directory [my home]/firefox/plugins/

    i wait your response hopefull.

  9. #8
    Linux Guru
    Join Date
    Mar 2003
    Location
    Wisconsin
    Posts
    1,907
    This looks like the output of /usr/lib/mozilla/*, not /usr/lib/mozilla*. Regardless, is this the /usr/lilb/ directory or the ~/ directory? (note ~/ is your home directory).

    Either way, you have libjavaplugin_oji.so here when it should be in the plugins directory. Is it also in the plugins folder? What is the output of

    Code:
    ls -l /home/{whatever user you have install firefox under}/firefox/plugins
    Jeremy
    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

  10. #9
    Just Joined!
    Join Date
    Aug 2004
    Posts
    11
    the output now is:
    Code:
    lrwxrwxrwx  1 the_dark the_dark    63 nov 10 23:06 libjavaplugin_oji.so -> /j2sdk1.4.2_05/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
    -rwxrwxr-x  1 the_dark the_dark 18840 nov  7 13:27 libnullplugin.so*
    yes i made a mistake,i copied the plugin in the firefox home too.
    but the plugin is in the plugin folder too

  11. #10
    Linux Guru
    Join Date
    Mar 2003
    Location
    Wisconsin
    Posts
    1,907
    hmmm...

    It would seem that maybe firefox isn't using that directory. Do you also have a firefox directory somewhere else on you system (like /usr/lib)?

    Jeremy
    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

Page 1 of 3 1 2 3 LastLast

Posting Permissions

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