Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Java Plugin for firefox

  1. #1
    upiter is offline Newcomer
    Join Date
    May 2010
    Posts
    48

    Default Java Plugin for firefox

    Hi

    I've opensuse 11.2 and I have all java packages installed, but Java Plugin for firefox doesn't work.
    I'm getting this error:
    Code:
    [B]gcjwebplugin error: Failed to run /etc/alternatives/../../bin/java.  For more detail rerun "firefox -g" in a terminal window.
    Code:
    upiter@linux-yalp:~> firefox -g
    upiter@linux-yalp:~> gcjwebplugin error: Failed to run /etc/alternatives/../../bin/java.  For more detail rerun "firefox -g" in a terminal window.
    Howto solve this problem?

  2. #2
    upiter is offline Newcomer
    Join Date
    May 2010
    Posts
    48

    Default Re: Java Plugin for firefox

    Code:
    # update-alternatives --all
    
    There is only 1 program which provides jce_1.6.0_sun_local_policy
    (/usr/lib/jvm-private/java-1_6_0-sun/jce/vanilla/local_policy.jar). Nothing to configure.
    
    There is only 1 program which provides mount.ntfs
    (/sbin/mount.ntfs-3g). Nothing to configure.
    
    There is only 1 program which provides xulrunner
    (/usr/lib/xulrunner-1.9.1.9/xulrunner). Nothing to configure.
    
    There are 2 alternatives which provide `java'.
    
      Selection    Alternative
    -----------------------------------------------
    *+        1    /usr/lib/jvm/jre-1.6.0-openjdk/bin/java
              2    /usr/lib/jvm/jre-1.6.0-sun/bin/java
    
    Press enter to keep the default[*], or type selection number:

  3. #3
    Dwarfer99's Avatar
    Dwarfer99 is offline Busy Penguin
    Join Date
    Oct 2008
    Location
    Brisbane
    Posts
    297

    Default Re: Java Plugin for firefox

    I would select number 2 on your list and ensure that you have installed java-1_6_0-sun-plugin. I would then get rid of the openjdk versions.
    It is dangerous to be right when the government is wrong.
    Thinkpad R60e, Intel Centrino Duo T2300E 1.66 GHz, Intel 3945ABG, Intel Graphics 950, 2G RAM. openSUSE 11.4 Kde 4.6, Fritz!Box 7170.

  4. #4
    upiter is offline Newcomer
    Join Date
    May 2010
    Posts
    48

    Default Re: Java Plugin for firefox

    I've removed openjdk using yast and deleted npwrapper.javaplugin.so in the Konsole:
    Code:
    # cd /usr/lib/browser-plugins/
    # rm npwrapper.javaplugin.so
    Now it seems to work.

  5. #5
    Metalpak is offline Newcomer
    Join Date
    Jun 2010
    Posts
    2

    Default Re: Java Plugin for firefox

    ok..
    So I tried what was said.. I made yast install the java-plugin.
    And I have to say.. I'm a total noob when it comes to programming or something like it..
    So. I typed in on Terminal: firefox -g
    I got a new firefox window.

    linux-byo4:~ # firefox -g
    *** nss-shared-helper: Shared database disabled (set NSS_USE_SHARED_DB to enable).
    ERROR: Invalid browser function table. Some functionality may be restricted.
    /usr/src/packages/BUILD/icedtea6-1.7.3/plugin/icedteanp/IcedTeaNPPlugin.cc:1427: thread 0x808a0e0: Error: Failed to spawn applet viewer: Failed to execute child process "/etc/alternatives/../../bin/java" (No such file or directory)

    wth do I have to do?

  6. #6
    ijbreakey's Avatar
    ijbreakey is offline Wise Penguin
    Join Date
    Jan 2009
    Location
    USA Pennsylvania
    Posts
    1,317

    Default Re: Java Plugin for firefox

    Quote Originally Posted by Metalpak View Post
    ok..
    So I tried what was said.. I made yast install the java-plugin.
    And I have to say.. I'm a total noob when it comes to programming or something like it..
    So. I typed in on Terminal: firefox -g
    I got a new firefox window.

    wth do I have to do?
    Hi, what version of openSUSE are you using?

    Could you please open a terminal and provide the results of (copy and paste the line below):

    Code:
    rpm -qa --last "*java*"
    Take Care,

    Ian
    Laptop: Dell Inspiron E1505 | OpenSUSE 11.4/Windows Vista | KDE 4.6.95 | Intel CPU T2050 1.6 GHz | Intel 945GM | 3.2GB RAM
    Box: OpenSUSE 11.4/Windows 7 | KDE 4.6.95 | Intel Core 2 Quad 8300 2.5GHz/core | nVidia Geforce 9500GT 1GB| 4 GB RAM

  7. #7
    tomasjensen is offline Newcomer
    Join Date
    Jan 2009
    Posts
    3

    Default Re: Java Plugin for firefox

    Had problems with Firefox and Java too.

    Seems to be problems with Openoffice as I had to uninstall Firefox, Openoffice and java.
    Then reinstall Firefox, Openoffice and java-1_6_0-sun.

    And it solved my problems

    /Tomas

  8. #8
    polhen is offline Newcomer
    Join Date
    Jan 2009
    Posts
    3

    Default Re: Java Plugin for firefox

    hi !

    i have similar problem with my browser firefox, when trying open web page with java support i am getting "gcjwebplugin error"
    i just installed open suse kde version 11.2, the newest version of sun jre is installed...
    help will be appreciated

    regards

  9. #9
    gsahli is offline Newcomer
    Join Date
    Nov 2009
    Posts
    3

    Default Re: Java Plugin for firefox

    Since I allowed Firefox to update, I have this problem, too ("gcjwebplugin error"). OpenSUSE 11.2. I tried - reinstall sun java and reinstall Firefox 3.5.10 via Yast2.

    Now I get:

    firefox -g
    *** nss-shared-helper: Shared database disabled (set NSS_USE_SHARED_DB to enable).
    *** NSPlugin Viewer *** ERROR: /usr/lib/browser-plugins/javaplugin.so: undefined symbol: __gxx_personality_v0
    *** NSPlugin Viewer *** ERROR: /usr/lib/browser-plugins/javaplugin.so: undefined symbol: __gxx_personality_v0
    *** NSPlugin Wrapper *** ERROR: failed to initialize plugin-side RPC client connection
    *** NSPlugin Wrapper *** WARNING/usr/src/packages/BUILD/nspluginwrapper-1.2.2/src/npw-wrapper.c:3156):invoke_NP_Initialize: assertion failed: (rpc_method_invoke_possible(g_rpc_connection))
    *** NSPlugin Viewer *** ERROR: /usr/lib/browser-plugins/javaplugin.so: undefined symbol: __gxx_personality_v0
    *** NSPlugin Viewer *** ERROR: /usr/lib/browser-plugins/javaplugin.so: undefined symbol: __gxx_personality_v0
    *** NSPlugin Wrapper *** ERROR: failed to initialize plugin-side RPC client connection
    *** NSPlugin Wrapper *** WARNING/usr/src/packages/BUILD/nspluginwrapper-1.2.2/src/npw-wrapper.c:3156):invoke_NP_Initialize: assertion failed: (rpc_method_invoke_possible(g_rpc_connection))

    (...infinite...)

    and:

    /usr/sbin/update-alternatives --display javaplugin
    javaplugin - status is auto.
    link currently points to /usr/lib/jvm/java-1.6.0-sun-1.6.0/jre/lib/i386/libnpjp2.so
    /usr/lib/jvm/java-1.6.0-sun-1.6.0/jre/lib/i386/libnpjp2.so - priority 1617
    Current `best' version is /usr/lib/jvm/java-1.6.0-sun-1.6.0/jre/lib/i386/libnpjp2.so.

    This last looks wrong to me, but I'm not sure.

  10. #10
    gsahli is offline Newcomer
    Join Date
    Nov 2009
    Posts
    3

    Default Re: Java Plugin for firefox

    What I did to fix it:
    1) Remove all parts of openjava/openjdk (using Yast2).
    2) re-install sun java
    3) reinstall Firefox 3.5.10
    4) sudo mv /usr/lib/browser-plugins/npwrapper.javaplugin.so /usr/lib/browser-plugins/npwrapper.javaplugin.so.bak

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.5.2