Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Can not use java plugin in Chromium/Firefox/Chrome browsers

  1. #1

    Lightbulb Can not use java plugin in Chromium/Firefox/Chrome browsers

    Dear community.

    I mess with problem that I guess hard to solve on my own.

    My bank system does not work without JRE. I installed it by using this tutorial https://en.opensuse.org/SDB:Installing_Javan but I can not remove an older version of Java plugin via Yast, because when I tried it just downgrade, but not uninstall.

    Also, I can not use my on-line bank system, because Chromium/Chrome do not even lunch the plugin, and the Firefox ask me to install plugin and when I try to do this, nothing happens...

    Please, help me, dear community.

    I have OpenSuse 13.1 with latest updates
    Firefox 31
    Chromium 37
    Chrome 38

  2. #2

    Default Re: Can not use java plugin in Chromium/Firefox/Chrome browsers

    First of all, you won't be able to get Java to work in Chrome or Chromium. They do not support Netscape plugins any more since some time, and Java is not available as native plugin for Chrome/Chromium.

    For Firefox, you shouldn't have to install anything, the Java plugin should have been installed by default and working.
    Or does your bank require a newer one?

    PLease post which java packages you have installed now.
    Code:
    rpm -qa | egrep "java|jre"
    And please clarify what you mean with:
    I can not remove an older version of Java plugin via Yast, because when I tried it just downgrade, but not uninstall
    What are you trying to do exactly? And what happens exactly?
    E.g. which package in which version do you want to uninstall, and which package in which version does YaST want to downgrade to?

    Have you really followed that article? It doesn't tell anywhere to remove a package with YaST...

    Maybe try to remove the package with zypper ("zypper rm xxx") and post the exact message you get.

  3. #3

    Default Re: Can not use java plugin in Chromium/Firefox/Chrome browsers

    wolfi323

    Thank for your reply.

    First of all, you won't be able to get Java to work in Chrome or Chromium. They do not support Netscape plugins any more since some time, and Java is not available as native plugin for Chrome/Chromium.
    Now I understand. I read about it, but I guess now everything get completely clear.

    Here is output

    Code:
    timezone-java-2014h-4.1.noarch
    libjavascriptcoregtk-3_0-0-2.2.7-10.1.x86_64
    java-1_5_0-gcj-compat-1.5.0.0-128.1.3.x86_64
    libjavascriptcoregtk-1_0-0-2.2.7-10.1.x86_64
    jre1.8.0_25-1.8.0_25-fcs.x86_64
    And please clarify what you mean with: What are you trying to do exactly? And what happens exactly?
    E.g. which package in which version do you want to uninstall, and which package in which version does YaST want to downgrade to?

    Have you really followed that article? It doesn't tell anywhere to remove a package with YaST...

    Maybe try to remove the package with zypper ("zypper rm xxx") and post the exact message you get.
    What I do:

    1. Open Yast;
    2. Open Software Management;
    3. Type 'java' in the search field;
    4. I see java-1_5_0-gcj-compat package;
    5. After I click 'Accept' button I see two options: uninstall java-1_5_0-gcj-compat and install java-1_7_0-openjdk but in fact every time when I try to uninstall java-1_5_0-gcj-compat java-1_7_0-openjdk installs.

    Yes, I followed article, and uninstall icedtea plugin and after that I just can't use any Java applet, because in fact my jre1.8.0_25 package doesn't work.

    Please, help me.

  4. #4

    Default Re: Can not use java plugin in Chromium/Firefox/Chrome browsers

    Quote Originally Posted by thestoryiheard View Post
    What I do:

    1. Open Yast;
    2. Open Software Management;
    3. Type 'java' in the search field;
    4. I see java-1_5_0-gcj-compat package;
    5. After I click 'Accept' button I see two options: uninstall java-1_5_0-gcj-compat and install java-1_7_0-openjdk but in fact every time when I try to uninstall java-1_5_0-gcj-compat java-1_7_0-openjdk installs.
    Probably java is recommended or required by other packages and that jre package doesn't provide that property.
    You might try to "Taboo" it.

    Yes, I followed article, and uninstall icedtea plugin and after that I just can't use any Java applet, because in fact my jre1.8.0_25 package doesn't work.
    And why don't you just remove jre1.8.0_25 again and use OpenJDK/IcedTea instead?

    Did you run that "update-alternatives" lines _after_ you removed the OpenJDK packages? Does /usr/bin/java exist?
    Did you run "plugin=$(rpm -ql jre | grep libnpjp2.so) && ln -svf "$plugin" /usr/lib64/browser-plugins/" _after_ you removed the packages? Did you get an error message?
    What exactly do you mean with "doesn't work"?
    Please post the output you get when running "java -version".

  5. #5

    Default Re: Can not use java plugin in Chromium/Firefox/Chrome browsers

    I have a similar issue: the Australian Tax Office AUSkey web-app should work with Firefox and openjdk/icedtea. The web-app has worked for me (with Suse 12.X and openjdk) but not for a while now, perhaps a year while I have been using Suse 13.X. A new window opens but just hangs until it eventually fails with a time-out.

    My current system is Suse 13.2 with Java 1_7_0 and 1_8_0 openjdk, openjdk_headless and openjdk_plugin. The java verify site says "Congratulations! You have the recommended Java installed (1.8.0_40)."

    > Did you run "plugin=$(rpm -ql jre | grep libnpjp2.so) && ln -svf "$plugin" /usr/lib64/browser-plugins/" _after_ you removed the packages? Did you get an error message?

    After finding and renaming an old "libnpjp2.so", which pointed to a no-longer existing "/usr/lib/jvm/java-6-sun/lib/i386/libnpjp2.so", the above command executed with no error. However, there is no "libnpjp2.so" in my system!

    Any thoughts on getting this web-app working would be appreciated!

  6. #6

    Default Re: Can not use java plugin in Chromium/Firefox/Chrome browsers

    Quote Originally Posted by stuartn View Post
    > Did you run "plugin=$(rpm -ql jre | grep libnpjp2.so) && ln -svf "$plugin" /usr/lib64/browser-plugins/" _after_ you removed the packages? Did you get an error message?

    After finding and renaming an old "libnpjp2.so", which pointed to a no-longer existing "/usr/lib/jvm/java-6-sun/lib/i386/libnpjp2.so", the above command executed with no error. However, there is no "libnpjp2.so" in my system!
    AIUI, libnpjp2.so should be part of Oracle's jre package.
    Did you install that?

    Your sentence "with Java 1_7_0 and 1_8_0 openjdk, openjdk_headless and openjdk_plugin" isn't really clear on that point IMHO, but if I understand you correctly you have the openJDK versions of both 1.7.0 and 1.8.0.
    What does "rpm -qa jre*" say?

    That line you quoted only applies if you installed java from java.com, see the site linked to earlier.

  7. #7

    Default Re: Can not use java plugin in Chromium/Firefox/Chrome browsers

    Quote Originally Posted by wolfi323 View Post
    AIUI, libnpjp2.so should be part of Oracle's jre package. Did you install that?
    Yes, a long time ago I used Oracle jre.

    Quote Originally Posted by wolfi323 View Post
    Your sentence "with Java 1_7_0 and 1_8_0 openjdk, openjdk_headless and openjdk_plugin" isn't really clear on that point IMHO, but if I understand you correctly you have the openJDK versions of both 1.7.0 and 1.8.0. What does "rpm -qa jre*" say?
    Yes I have the openJDK of both 1.7.0 and 1.8.0. The "rpm -qa jre*" command has no result. Thanks.

  8. #8

    Default Re: Can not use java plugin in Chromium/Firefox/Chrome browsers

    Quote Originally Posted by stuartn View Post
    Yes, a long time ago I used Oracle jre.
    Well, "a long time ago" it was even part of the distribution.
    But that doesn't mean that you have installed it _now_.

    The "rpm -qa jre*" command has no result.
    Which means that you do _not_ have Oracle's java installed, which explains why you don't have libnpjp2.so .

    If you want to use Oracle's java, you have to download and install it manually first.
    Again, please look at the link in the first post for detailed instructions.

    I have no idea why icedtea (i.e. openjdk's browser plugin) doesn't work for you, but maybe Oracle's java plugin might.

  9. #9

    Default Re: Can not use java plugin in Chromium/Firefox/Chrome browsers

    Quote Originally Posted by wolfi323 View Post
    If you want to use Oracle's java, you have to download and install it manually first.
    There are reports that changing to Oracle's java doesn't fix the issue.

    Quote Originally Posted by wolfi323 View Post
    I have no idea why icedtea (i.e. openjdk's browser plugin) doesn't work for you.
    Icedtea has worked nicely before. For the last year I have been expecting the issue to sort our via updates (and in the meantime used my rather clunky fall-back windows system).

    The reason I asked this question now was that a year has passed and I would like to sort out the primary issue rather than customise my system for a workaround. After many years of hacks I want a simple life with a "pure Suse system," whatever this is from time to time; and I want to avoid a manual time-fixed java (particularly given Oracle's massive number of java updates).

    Do we have an ability to debug why icedtea no longer works?

  10. #10

    Default Re: Can not use java plugin in Chromium/Firefox/Chrome browsers

    Quote Originally Posted by stuartn View Post
    There are reports that changing to Oracle's java doesn't fix the issue.
    But in that exact thread, the replier states that it works fine for him with Oracle's java.

    Icedtea has worked nicely before. For the last year I have been expecting the issue to sort our via updates (and in the meantime used my rather clunky fall-back windows system).
    The reason I asked this question now was that a year has passed and I would like to sort out the primary issue rather than customise my system for a workaround. After many years of hacks I want a simple life with a "pure Suse system," whatever this is from time to time; and I want to avoid a manual time-fixed java (particularly given Oracle's massive number of java updates).

    Do we have an ability to debug why icedtea no longer works?[/QUOTE]
    It works fine here (13.2 with Firefox 33) and always has, so there's definitely no general problem with IcedTea/openJDK.

    Why don't you just try Oracle's java?
    Maybe there's a problem with your openJDK installation, installing and switching to Oracle's java should fix that.

    Do you only have problems with this particular site or in general? In the first case, switching to Oracle's java would be even more likely to help.

    You could also try to install one of the two java versions you have installed. Maybe something's getting confused/something's setup wrong.
    What do you get when you run "java -version" btw? What does Firefox show in "about:plugins"?
    Maybe try to run "sudo update-alternatives -all" and verify that all java stuff is set to the same versions, the jre and the browser plugin in particular.
    And if you post a list of your java packages, I could at least compare them with mine, which work (and yes, I do have 1.7.0 and 1.8.0 installed as well, that's normal on 13.2).
    Code:
    rpm -qa java*

Page 1 of 3 123 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
  •