Four Stars

Could not find or load main class in talend

Hello, i get error : could not find or load main class when i execute job in Talend. Below are the details about talend and java installed. It used to work in my old system, however, I can't recall java version but Talend version was same. I have checked all the discussions revolving around this issue, but nothing worked. Please reply if anyone knows how to fix it. Talend V6.2 jdk1.8.0_131
3 REPLIES
Four Stars

Re: Could not find or load main class in talend

;Seems to be a case of corrupt workspace.

Try building a fresh workspace and import jobs there.

Moderator

Re: Could not find or load main class in talend

Hi,

Have you already checked the installation path to your workspace? Any space?

Please follows the steps as below to restore the items.
1. Back up the workspace.
2. Delete the workspace and restart the studio.
3. Import all items from the backup of workspace done in step1.

Let us know if it is Ok with you.

Best regards

Sabrina

Four Stars

Re: Could not find or load main class in talend

Thanks for the replies. However, there was no workspace issue. The issue was of java version mismatch. I think Talend doesn't support latest java version i.e java1.8_131. I downgraded java to update 77 and it worked just fine. Hope this helps someone else.