I've noticed that in case the check `java --fulversion` fails, hardcoded installations of JDK8 are done in the launchers:
(didn't found the check for the Windows launcher)
As JDK8 support will be dropped in the next LTS (already dropped on weekly), these installations should be to be changed to JDK11.
Another solution would be to replace these hardcoded installations in case java isn't installed by an error message indicating java must be installed on the agent in order to use the plugin. (Avoid forcing a JDK > 8)
Note: this will be certainly a breaking change.