How to resolve Talend error could not find or load main class
1-Make sure your jdk environment is totally correct.
2- make sure you variable environment are pointing to the right folder ( see capture below )
3- try the following commands to check wich jdk env is running on your machine
unix / linux : echo $JAVA_HOME
java version “1.8.0_05”
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)