“java” would like to receive keystrokes from any application

Macbook very opposed to installing/using the easy installer on the basis that they can’t guarantee it wouldn’t contain malware, so you have to override the protection system in order to use it, and then once you’ve done that it comes up with ““java” would like to receive keystrokes from any application”, which seems kind of ominous.

Anyone know what it means, or why it says it? Obviously I clicked deny…

The Easy Installer is a Java application, it seems … https://doc.e.foundation/easy-installer-contribute#tools-required-to-build.
And it will need user input … https://doc.e.foundation/easy-installer-faq#what-does-the-easy-installer-do. I never used it, though, so I don’t know whether you would have to type anything instead of just point and click.

This seems to be a bug in the library that was used to create the easy-installer: [JDK-8231513] JavaFX cause Keystroke Receiving prompt on MacOS 10.15 (Catalina) - Java Bug System

I just had a look at the source and the installer uses JavaFX 13 which is affected by this bug. The way I understand it, the bug is fixed in JavaFX 14.

So I guess the source code for the easy-installer should be update to use version 14. But not sure if that will require more changes to the installer sources in case there are breaking changes between 13 and 14.

2 Likes

I’ve created an issue in the bugtracker: easy-installer: '“java” would like to receive keystrokes from any application' warning on macOS (#6611) · Issues · e / Backlog · GitLab

And here is the corresponding merge request to upgrade to a JavaFX version that’s supposed to suppress this warning: Upgrade to JavaFX 14 (!195) · Merge requests · e / devices / Easy Installer · GitLab

I don’t have a Mac, so I could only test that the installer still starts on Linux after my change.

4 Likes