
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you @Jan Lolling but if downgrade to Java 11, will it support Talend 8.0.1?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes of course. For sure better than the version 21!
