The JavaScript Nashorn language is deprecated with the intention of removing it from the next major version. You can learn more about deprecated JavaScript Nashorn here. Please use JavaScript Rhino instead; for more information, see the JavaScript migration from Nashorn to Rhino engine page.

The JavaScript Nashorn language will be removed from the next major version release, i.e., 2024x, which is currently planned to be released at the end of 2023.
To avoid any issues using the new version, we recommend migrating from Nashorn to the Rhino engine beforehand.

Now, opening a project created with an older major version (e.g. 2021x, 190) that contains JavaScript Nashorn scripts immediately displays a notification informing you about the upcoming removal of the JavaScript Nashorn scripting language. The notification is displayed only once upon the first opening of the project with the new version of the tool. You can click the Find Usages link to run the Deprecated JavaScript validation suite to locate all usages of JavaScript Nashorn.

Additionally, if the JavaScript Nashorn usages remain unresolved, the error notification is prompted when running an expression (e.g. opening a Generic table with a custom column written in JS Nashorn).

Finding and resolving JavaScript Nashorn usages

However, to locate all usages of JavaScript Nashorn in a project, we recommend running the Deprecated JavaScript validation suite (Analyze > Validation > Validate). The validation suite contains the Deprecated JavaScript validation rule, which:

  • detects all JavaScript Nashorn usages;
  • allows you to change the JavaScript Nashorn language to JavaScript Rhino for implemented expressions via the Change to JavaScript Rhino solver.


After running the Deprecated JavaScript validation suite, hold Ctrl+A to select all detected instances of JavaScript Nashorn and resolve them via the Change to JavaScript Rhino solver in the Validation Results panel.

For a detailed description of the validation rule, see the Deprecated JavaScript page.

The Change to JavaScript Rhino solver changes the used scripting language without affecting the script itself. In many cases, changing the used scripting language will not affect the functionality of the script. Otherwise, the Expression evaluation failure error notification will be prompted, requiring you to rewrite the script in JavaScript Rhino.