i use OH3 on debian, it is recommended to use java 17. So i updated Hava to 17 and since then I can create rules in Blockly but if the rule is triggered i see the error:
How can I use Blockly?
Install Nashorn was the solution Thanks to Me
No, it’s only recommended to use Java 17 in OH 4. OH 3 still remains on Java 11.
Should you choose to run Java 17, the solution is as you found it, install the Nashorn add-on which no longer comes with Java.