Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I created a job in Talend and passed a context variable as a parameter and the job ran successfully. Then I build the job to get all the executable files and try to run the job using terminal "sh run_entire_pipelien_run.sh" which is a simple job which calculates the based on the parameter that we pass. But in terminal, I get this error:
Error: Could not find or load main class Solutions.Talend.run_entire_pipeline_0.1.run_entire_pipeline....lib
Java version: echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/jdk1.8.0_241.jdk/Contents/Home
Talend version: 7.3.1
Goal is to run the .sh file from terminal
Hi
The error indicates the required jar files are missing. Do you select all the default settings when building the job?
Regards
Shong
Hey Shong,
When I build the job, I built it with default settings.
Hi Rohan,
I have no idea why you have this error. Basically, it is a very simple process, build the job with default settings, extract the zip file, CD into the directory where the job script file is located, and execute the job script file. Maybe need to check if you are using compatible Operating System.
Regards
Shong
I ran the same file with .bat extension in windows machine and it ran successfully. Is it something related java class path? or JAVA_HOME variable ? I am a bit confused here. Any suggestions would be appreciated.