how to set default script as java in script tab instead of groovy?

i need to executed script in java.

Hi…

I have a similar need: I’d like to have the script automatically generated in Java, not Groovy. I’m not able to find such option inside settings

You can write Java code directly in Script tab.

It is compatible with Java as well as with Groovy.