Five Stars

Error: Could not find or load main class xxx

Hi All Talend Team,
Talend open studio version 6.0
Java verion : 1.8.xxx
All environment variable is set correctly 
I am getting error in building demo_project.
I ran demo_project's job but did not run. giving error : Error: Could not find or load main class local_project
I checked each forum post and implemented each solution which ever given in that related to above error
But solution given in posts are not resolving same error. I checked each single posts and I tried every solutions.
NOT A SOLUTION IS WORKING.
Please provide me solution......
I hope, you provide better solution early.......  

Thanks,
Bhavik
9 REPLIES
Employee

Re: Error: Could not find or load main class xxx

Please upgrade to 6.1 if you can.
Thomas Steinborn
VP Product Management
Five Stars

Re: Error: Could not find or load main class xxx

Hi tsteinborn,

Thanks for your reply but for me not possible to upgrade to 6.1.
Please provide other solution.

Bhavik
Employee

Re: Error: Could not find or load main class xxx

any chance you installed into a directory with spaces? That was a regression in 6.0, which  we fixed in 6.1.
Thomas Steinborn
VP Product Management
Five Stars

Re: Error: Could not find or load main class xxx

there is no such issue!
dir : C:\Users\xxxxxxxxxx\Documents\TOS_DI-Win32-20150702_1326-V6.0.0
Moderator

Re: Error: Could not find or load main class xxx

Hi,
From the 6.0, Studio will need to use JDK instead of JRE only.
Make sure you have pointed java setting to the JDK folder.
Please refer to KB article about:TalendhelpCenetr:Requiring a JDK installation to build jobs starting from version 6.0
Feel free to let us know if it doesn't work for you.
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.
Five Stars

Re: Error: Could not find or load main class xxx

Hi,
Above is JDK version, I have JDK.
As i mention earlier, i gone through all the docs and solution but not working for me.

Thanks.
Bhavik
Moderator

Re: Error: Could not find or load main class xxx

Hi,
Are you using 32 bit OS?
Please  check if there has blank space or special characters in the workspace path. Would you mind reinstalling your studio into a short installation path, such as, Smiley Very Happy:\TOS_DI-Win32-20150702_1326-V6.0.0 directly?
More information about what you have done will be helpful for us to screen your issue step by step.
Great thanks.
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.
Five Stars

Re: Error: Could not find or load main class xxx

Hi
I installed 6.1 version and right now its working fine.
Thanks to all talend for your great support.
best regards,
Bhavik
One Star

Re: Error: Could not find or load main class xxx

any chance you installed into a directory with spaces? That was a regression in 6.0, which  we fixed in 6.1.

I am using Talend Real-Time Big Data Sandbox and encoutering this issue. I am not sure if I can download 6.1 Sandbox, any other work around for this issue? Or can you point me to a 6.1 sandbox download?
Thanks
Raj