Java support for applets in the web browser Topic is solved

General discussion and compatibility support about browser plug-ins.
(e.g. Adobe Flash, Java plugin, authentication plugins, Unity)

Moderators: FranklinDM, Lootyhoof

Post Reply
Kendo
Moongazer
Moongazer
Posts: 11
Joined: 2020-03-17, 02:27

Java support for applets in the web browser

Post by Kendo » 2020-06-21, 00:22

I was trying to view a web page that uses a java applet to render the image, but found that I had no Java support for any web browser.

So I downloaded and installed "Java for my desktop computer" from https://www.java.com/en/download/

Yes, there were all sorts of notices about modern browsers not supporting Java anymore because it is unsafe (?) but on the Java site they do actually mention Pale Moon as still good to go.

Well after I installed I checked Java Security to ensure that it was indeed checked to enable for web browsers. But in Pale Moon plugins page I see that it is set to "Always ask permission" and that the setting cannot be changed to "Always ON'.

Anyway, the long and short of this episode is that I don't get anything on the applet page, no applet and no request to activate.

Is this normal, or have I missed something?

Kendo
Moongazer
Moongazer
Posts: 11
Joined: 2020-03-17, 02:27

Re: Java support for applets in the web browser

Post by Kendo » 2020-06-21, 00:37

Problem solved. The error was on the web page itself (missing jar file) and is now fixed.

After clicking not one, but two security prompts to proceed it finally loaded.

I trust Java implicitly as it was once the safest and the most sophisticated cross platform programming language. I suspect that what has happened since is due to new browser changes that make it insecure... or simply payback from those who got sued bigtime after trying to plagiarise and steal ownership.

Question: how to completely remove those prompts?

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 27036
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Java support for applets in the web browser

Post by Moonchild » 2020-06-21, 00:50

Part of the java prompting is done by the java plugin itself.
You'll have to explicitly disable that in java configuration.
The other prompt is in the browser in add-on manager -> plugins, the default for java is "ask to activate", you can set it to always activate, BUT I recommend you only do so on a site-by-tise basis (using the permission prompt on the site visited)
"There will be times when the position you advocate, no matter how well framed and supported, will not be accepted by the public simply because you are who you are." -- Merrill Rose
Image

Kendo
Moongazer
Moongazer
Posts: 11
Joined: 2020-03-17, 02:27

Re: Java support for applets in the web browser

Post by Kendo » 2020-06-21, 01:32

Moonchild wrote:
2020-06-21, 00:50
you can set it to always activate
In the current version of PM the "Always activate" is greyed out.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 27036
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Java support for applets in the web browser

Post by Moonchild » 2020-06-21, 09:32

Is your java up-to-date? Old and insecure versions of Java have that option disabled, requiring you to always confirm.
"There will be times when the position you advocate, no matter how well framed and supported, will not be accepted by the public simply because you are who you are." -- Merrill Rose
Image

Kendo
Moongazer
Moongazer
Posts: 11
Joined: 2020-03-17, 02:27

Re: Java support for applets in the web browser

Post by Kendo » 2020-06-22, 23:00

Moonchild wrote:
2020-06-21, 09:32
Is your java up-to-date?
Yes. Latest download jxpinstall.exe version 8.0.2510.8

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 27036
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Java support for applets in the web browser

Post by Moonchild » 2020-06-23, 00:16

How is it identified in the addons manager? file versions don't really tell me anything :)
"There will be times when the position you advocate, no matter how well framed and supported, will not be accepted by the public simply because you are who you are." -- Merrill Rose
Image

Kendo
Moongazer
Moongazer
Posts: 11
Joined: 2020-03-17, 02:27

Re: Java support for applets in the web browser

Post by Kendo » 2020-06-23, 00:40

Moonchild wrote:
2020-06-23, 00:16
How is it identified in the addons manager?
Attachments
java-pm.jpg

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 27036
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Java support for applets in the web browser

Post by Moonchild » 2020-06-23, 01:04

The Java Deployment Toolkit is not the Java plugin.
The actual Java plugin would be identified as Java(tm) Platform SE U251 or similar (a separate entry from the one you listed there).
The deployment toolkit is dangerous to have always enabled because its purpose is to deploy applications, and can easily be abused to install malware on your system if enabled by default; which is why that one can't be always enabled. You normally don't need this deployment plugin to use Java applets, you only need the main platform plugin.
"There will be times when the position you advocate, no matter how well framed and supported, will not be accepted by the public simply because you are who you are." -- Merrill Rose
Image

Kendo
Moongazer
Moongazer
Posts: 11
Joined: 2020-03-17, 02:27

Re: Java support for applets in the web browser

Post by Kendo » 2020-06-23, 05:52

Moonchild wrote:
2020-06-23, 01:04
You normally don't need this deployment plugin to use Java applets, you only need the main platform plugin.
Unfortunately that is what the download page recommends. Although by now they may be giving into the fact that most web browsers have had their way, and the browser plugin won't be needed.

User avatar
moonbat
Board Warrior
Board Warrior
Posts: 1605
Joined: 2015-12-09, 15:45

Re: Java support for applets in the web browser

Post by moonbat » 2020-06-23, 06:12

The NPAPI Java plugin was deprecated after Java 8 so you'll have to get that version rather than the latest which is 11.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Linux Mint 20 Xfce x64 on HP i5 laptop with 12 GB RAM, always latest versions of PM & Basilisk unless specified.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 27036
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Java support for applets in the web browser

Post by Moonchild » 2020-06-23, 10:17

Once again you don't need the deployment plugin for running applets in the browser. At all. It is for, as the name says, deployment of standalone java applications on your computer, not for applets.

moonbat: The java 8 SE plugin is version 11 ;-)
"There will be times when the position you advocate, no matter how well framed and supported, will not be accepted by the public simply because you are who you are." -- Merrill Rose
Image

Kendo
Moongazer
Moongazer
Posts: 11
Joined: 2020-03-17, 02:27

Re: Java support for applets in the web browser

Post by Kendo » 2020-06-23, 21:44

For testing anything like this, I try to use what our visitors will probably use, which is what faces them when they go to download Java.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 27036
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Java support for applets in the web browser

Post by Moonchild » 2020-06-23, 22:04

When they download java they get both plugins. the deployment plugin will be disabled by default by the browser, and the actual java plugin will prompt.
"There will be times when the position you advocate, no matter how well framed and supported, will not be accepted by the public simply because you are who you are." -- Merrill Rose
Image

User avatar
adesh
Board Warrior
Board Warrior
Posts: 1045
Joined: 2017-06-06, 07:38

Re: Java support for applets in the web browser

Post by adesh » 2020-06-25, 11:09

Kendo, download JRE plugin, the keyword is runtime. Stay away from something which says JDK or keyword like development/deployment or similar kit.

Post Reply