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.

Is Iced Tea installed in your web browser extensions?

TSU

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/docs/2016/plug-in-support-has-been-dropped-other-than-flash/>.
[HR][/HR]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

OK, but:


 > 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 …

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.

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/use-java-plugin-to-view-interactive-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/install/manual-installation-and-registration-java-plug-linux.htm

HTH,
TSU

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

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/releases/52.9.0esr/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

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

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

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”.