Results 1 to 10 of 10

Thread: I need java in a browser

  1. #1

    Default I need java in a browser

    Hi all: I have been working on upgrading a headless computer we use to push video out to several TVs in the office (same video is displayed on all TVs). The headless computer simply runs a browser (firefox) in kiosk mode and displays the output of a webpage generated by a piece of equipment. In 42.3 this was no problem but unfortunately it uses a java applet which is now unsupported in firefox 60esr. I know chrome/chromium will have the same issue, and the gnome browser, while able to run the java applet, has it's own issues - it will not display the data unless the browser is minimized and maximized, at which point it will display the image.

    So I am wondering if I can somehow install an older version of firefox and get java to work with it. I was able to get firefox 52 installed and running using a tar-ball from the mozilla site, but java would not run. My only other option is to revert back to 42.3.

    BTW, I have spoken with tech support of the equipment that generates the video and they are working on a new way to display the data in a browser without using the java applet, but it is 6 months out.

    Thanks for the advise, Chris.

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,499
    Blog Entries
    2

    Default Re: I need java in a browser

    Is Iced Tea installed in your web browser extensions?

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,611

    Default Re: I need java in a browser

    Bad news day:
    Mozilla: "Why do Java, Silverlight, Adobe Acrobat and other plugins no longer work?": <https://support.mozilla.org/en-US/kb/npapi-plugins>.
    Firefox Site Compatibility Working Group: "Plug-in support has been dropped other than Flash": <https://www.fxsitecompat.com/en-CA/d...er-than-flash/>.

    It seems that, you may have to live with Leap 42.3 and Mozilla Legacy Firefox 45.8.0 until, the Leap 42.3 EOL June 2019.

  4. #4
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,499
    Blog Entries
    2

    Default Re: I need java in a browser

    Quote Originally Posted by dcurtisfra View Post
    Bad news day:
    Mozilla: "Why do Java, Silverlight, Adobe Acrobat and other plugins no longer work?": <https://support.mozilla.org/en-US/kb/npapi-plugins>.
    Firefox Site Compatibility Working Group: "Plug-in support has been dropped other than Flash": <https://www.fxsitecompat.com/en-CA/d...er-than-flash/>.

    It seems that, you may have to live with Leap 42.3 and Mozilla Legacy Firefox 45.8.0 until, the Leap 42.3 EOL June 2019.
    That all happened "long" ago...
    NPAPI plugins don't work, but for more than a year now.

    Just means that plugins created before then and using that very popular API stopped working... And, although it created a lot of pain at the time it was necessary for security reasons.

    Since then,
    Any active projects which still wanted to be used in Firefox re-wrote their plugins to work without using NPAPI and Java is one of them.

    To the @OP, you should probably have Iced Tea already installed if you are using FF from the OSS, but should be verified.
    For some situations, you may want to install and run Oracle Java instead of using openJdk and Iced Tea, but since that involves more work, should be viewed as "only when necessary."

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  5. #5
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,611

    Default Re: I need java in a browser

    Quote Originally Posted by tsu2 View Post
    Any active projects which still wanted to be used in Firefox re-wrote their plugins to work without using NPAPI and Java is one of them.
    OK, but:
    Code:
     > zypper info icedtea-web
    Loading repository data...
    Reading installed packages...
    
    
    Information for package icedtea-web:
    ------------------------------------
    Repository     : Haupt-Repository (OSS)
    Name           : icedtea-web
    Version        : 1.7.1-lp150.1.22
    Arch           : x86_64
    Vendor         : openSUSE
    Installed Size : 2.2 MiB
    Installed      : Yes
    Status         : up-to-date
    Source package : icedtea-web-1.7.1-lp150.1.22.src
    Summary        : Java Web Start implementation
    Description    :
        The IcedTea-Web project provides a Free Software web browser plugin running
        applets written in the Java programming language and an implementation of Java
        Web Start, originally based on the NetX project.
    
     >
    And, IcedTea doesn't appear in the list of the Firefox Plugins … But, it seems to be working -- sites which use Java don't complain …

  6. #6

    Default Re: I need java in a browser

    Thanks to everyone for the help. I understand the new version of firefox does not support the older plugins. I have downloaded the tarball of firefox 52.8 esr and I can run it, but now I need to get java to work with this version. There appears to be no rpms of older versions of firefox (at least that I have been able to find).

    Thanks again.

  7. #7
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,499
    Blog Entries
    2

    Default Re: I need java in a browser

    Regarding Firefox specifically, if you have Iced Tea installed, you should have web browser Java support.
    If you don't know if it's working, you should test your browser opening Java enabled content, for example at Java.com (Does everything there play, or do you get errors and warnings?)

    Mozilla published the following page which describes troubleshooting steps for current Firefox browsers (that do not support npapi plugins)

    https://support.mozilla.org/en-US/kb...active-content

    Although it should not generally be necessary,
    If you're convinced that Iced Tea is installed and should be working properly but the specific Java content you need to view is not working properly, then you can install Oracle Java side by side with your openjdk, then replace iced tea with the Oracle Java web browser support

    If you decide you want to install Oracle Java, the following is the SDB:Java page which should describe how to do it (I haven't personally reviewed it since the new content for LEAP 15). If you run into problems, or don't understand what is said, post again here. If necessary, I'll look at whether I should do the same work I did for Java 7 which was to simplify and do some minor improvements bundling up numerous commands into a few short scripts.

    https://en.opensuse.org/SDB:Installing_Java

    After installing the above (I'd expect you'd install the current latest which is Oracle Java 10), then you'd need to do the following to enable web browser java

    https://docs.oracle.com/javase/10/in...plug-linux.htm

    HTH,
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  8. #8
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: I need java in a browser

    you need a plugin capable browser Firefox Quantum disabled all plugins except Flash
    you can either get firefox-esr 52.9 from the mozilla repo
    Code:
    zypper ar -f http://download.opensuse.org/repositories/mozilla/openSUSE_Leap_15.0/mozilla.repo
    zypper in firefox-esr
    if you don't want to replace your quantum with an older build you can get firefox esr 52.9 from the mozilla public ftp
    https://ftp.mozilla.org/pub/firefox/.../linux-x86_64/
    just unpack and run it
    but the profiles used by Firefox 52 and 60 are not compatible so if you want both a classic Firefox browser and a new one I recommend basilisk
    it's a firefox-esr fork there is no rpm package but it runs fine on my LEAP 15.0 it's the same as the mozilla build just unpack the tar ball and run it
    http://www.basilisk-browser.org/download.shtml

    to get java running you'd need a java vm and a java plugin installed too but that's a different thread

  9. #9
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: I need java in a browser

    just a quick note if you've already ran Firefox 60 and you have a Firefox profile folder 52.9 (either from the mozilla repo or from the mozilla pub ftp) will have issues with your profile you can reset the profile to a 52 standard by doing
    ?->Troubleshooting information-> then hit the "Refresh Firefox" button on the right
    or go to
    Code:
    about:support
    and hit "Refresh Firefox"
    but when you restart Firefox 60 the profile will again be upgraded and become incompatible with Firefox 52
    that's why I'd recommend using Basilisk it uses it's own profile directory and as far as I can tell it's the only Firefox fork that is currently actively developed

  10. #10
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,902
    Blog Entries
    3

    Default Re: I need java in a browser

    I don't have a way of testing, but seamonkey appears to still support java (the Icedtea plugin). It is shown as there by the plugin manager. But I'm not aware of any test sites where I could check it.

    Note that seamonkey is in the Leap 15 repos.

    Hmm, I just browsed to a java test site using seamonkey. And it says that "Java 9.0 update 50 is installed in this browser".
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

Posting Permissions

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