Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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.
Thank you @Jan Lolling but if downgrade to Java 11, will it support Talend 8.0.1?
Yes of course. For sure better than the version 21!