Scripting language for Camunda

Which scripting language is better for camunda?

I think any scripting engine is managed by the java scripting library in the same way (at least I used it with groovy and javascript without much difference).

As long as you are used to a scripting language, this should be the best for you. You can use java classes inside scripts, be only aware that sometimes java class names clash with some script native objects and you have to qualify those classes (e.g. The Date javascript object is clashing with java Date, and you must remember to use ‘java.util.Date’)

I personally recommend groovy because is way shorter,powerful and clear.

Iam using groovy 3 & Java 13. When iam running sample script, iam getting the below error.
What is the compatible versions of groovy and JDK, if i want to use both.

Caught: java.lang.NoClassDefFoundError: Unable to load class org.apache.groovy.jaxb.extensions.JaxbExtensions due to missing dependency javax/xml/bind/JAXBContext
java.lang.NoClassDefFoundError: Unable to load class org.apache.groovy.jaxb.extensions.JaxbExtensions due to missing dependency javax/xml/bind/JAXBContext