1. You need to place JAR in advance on the libext directory of Kettle. When starting, Kettle will automatically load all jar packs in the LIBEXT directory when starting.
2. Modify Java Script Step Step, select Composition Mode and set the Content to the output field.
The code is as follows:
Copy code code as follows:
var variable = new packages. Package name (parameter);