Six Stars

Error: Could not find or load main class. when running a Talend Job

Hello Experts,

 

I spent two days to find out why the Talend job is throwing error but still no luck, this seems to be a common problem but i can't figure out why this is happening.

 

I am extracting data from Salesforce, however when i run the job in the Talend Studio - i get below error :

 

"Error: Could not find or load main class" 

 

Talend Version 6.3

JAVA_HOME = C:\Program Files\Java\jre1.8.0_121\bin

Path =  %JAVA_HOME%\bin;%JAVA_HOME%\jre\bin

Talend Installation : C:\Talend\6.3.1\studio\Talend-Studio-win-x86_64

Job WorkSpace: C:\Users\t00348\workspace

 

please help and let me know what is wrong

 

Ankur

 

  • Talend Integration Cloud
1 ACCEPTED SOLUTION

Accepted Solutions
Six Stars

Re: Error: Could not find or load main class. when running a Talend Job

Hey,

 

apologize for late response, this problem was resolved by removing bin from below

 

 JAVA_HOME = C:\Program Files\Java\jre1.8.0_121\bin

 

thanks guys

 

A

3 REPLIES
Moderator

Re: Error: Could not find or load main class. when running a Talend Job

Hi,

Is your java environment set correctly? Have you added some extra java library in the extensions folder where the java install path is?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Six Stars

Re: Error: Could not find or load main class. when running a Talend Job

Check out your <tos_install_directory>\workspace\.metadata folder.
You should see a .log file. Maybe that can provide additional details on what the error could be!
Six Stars

Re: Error: Could not find or load main class. when running a Talend Job

Hey,

 

apologize for late response, this problem was resolved by removing bin from below

 

 JAVA_HOME = C:\Program Files\Java\jre1.8.0_121\bin

 

thanks guys

 

A