    

 ## On this page

  

 

 # setLanguage

 Last update: 30.07.2026 

public [setLanguage](set-language.md)(language: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))

Sets the script's source language. Should be called before setting the script source.

#### Parameters

languagethe language to use#### Throws

[ModelCenterException](./../-model-center-exception/index.md)