Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
Jennifer_siders
Contributor III

No script engine found for JavaScript

Hi,

We are using tFileInputJSON to read the data using 'JSON PATH WITHOUT LOOP', when we use 'JSON PATH' we are not getting this error.

Error "No script engine found for JavaScript"

java version "21.0.1" 2023-10-17 LTS

Java(TM) SE Runtime Environment (build 21.0.1+12-LTS-29)

Kindly advise

Thank you

Labels (2)
3 Replies
jlolling
Creator III

After inspecting the code in the job it is quite clear why. The component uses JavaScript to evaluate the path. I have no idea why because it is actually not neccessary to use JavaScript because the component also use a JsonPath lib fully capable working with JSONPath.

Since Java 15 the JavaScript engine was removed from the default delivery of Java. I am sure if you run the job with Java 11 it will run because Java 11 has a JavaScript engine in place.

Jennifer_siders
Contributor III
Author

Thank you @Jan Lolling​  but if downgrade to Java 11, will it support Talend 8.0.1?

jlolling
Creator III

Yes of course. For sure better than the version 21!