One Star

[resolved] TOS 6.3.0 - Error: Could not find or load main class local_project

I'm facing the following issue when executing a job in TOS 6.3.0
Error: Could not find or load main class local_project when executing the job
Description:- Just installed the TOS 6.3 and tried to build and execute a demo code. But it throws the above error. Screen shot attached.
Operating System
Windows 10 Pro
OS System Variable added as below
Variable Name -> JAVA_HOME
Variable Value -> C:\Program Files\Java\jdk1.8.0_112
Path Updated with -> C:\Program Files\Java\jdk1.8.0_112\bin
-------------------------------
Java Details taken from Command Prompt
C:\Users\xxxx>javac -version
javac 1.8.0_112
C:\Users\xxxx>java -version
java version "1.8.0_112"
Java(TM) SE Runtime Environment (build 1.8.0_112-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.112-b15, mixed mode)
C:\Users\xxxx>echo %JAVA_HOME%
C:\Program Files\Java\jdk1.8.0_112
-------------------------------
TOS Details
Talend Open Studio for Data Integration
Version: 6.3.0
Java Interpreter -> C:\Program Files (x86)\Java\jre1.8.0_45\bin\java.exe
Installed JREs
JRE Home -> C:\Program Files\Java\jdk1.8.0_112
JRE Name -> jdk1.8.0_112
-------------------------------
Somehow I'm not able to find a solution in the forum. Please help me to resolve this.
I'm a newbie in TOS and Java.
1 ACCEPTED SOLUTION

Accepted Solutions
One Star

Re: [resolved] TOS 6.3.0 - Error: Could not find or load main class local_project

The issue was with the installation path. Thank you Sabrina.
You may close this thread.
It seems TOS does not follow the Windows directory naming convention. So you may add a piece of code in the future releases to create a directory like "Talend" in C:\ for installation. Most people do not alter the default path.
Regards
Paul
3 REPLIES
Moderator

Re: [resolved] TOS 6.3.0 - Error: Could not find or load main class local_project

Hi,
Could you please make sure that there is no extra space in your installation path?(such as:C:\Program Files\Talend)
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.
One Star

Re: [resolved] TOS 6.3.0 - Error: Could not find or load main class local_project

The issue was with the installation path. Thank you Sabrina.
You may close this thread.
It seems TOS does not follow the Windows directory naming convention. So you may add a piece of code in the future releases to create a directory like "Talend" in C:\ for installation. Most people do not alter the default path.
Regards
Paul
Moderator

Re: [resolved] TOS 6.3.0 - Error: Could not find or load main class local_project

Hi paul,
Thanks for your prompt feedback and suggestion.
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.