Follow the steps to import the Talend Job into a Java project in Eclipse:
For this example, call it P1.
For example, this demo Job contains the following jars (Located in <Job script unzip dir>\CallJobInEclipseDemo\):
package org.talend; import di_demo.calljobineclipsedemo_0_1.CallJobInEclipseDemo; public class TalendExample { public static void main(String[] args) { // TODO Auto-generated method stub CallJobInEclipseDemo talendJob=new CallJobInEclipseDemo(); talendJob.runJob(new String[]{}); } }
If so, it means the Job has been executed successfully in the Java program.
If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!