This error can occur when you execute a Job script outside of Talend Studio, and the JVM used to execute the Job is different from the JVM used to compile the Job.
If you don't know which JVM the machine has, you can execute the following command at the command prompt:
In the following Windows example, the java version is "1.6.0_11".
C:\Documents and Settings\Administrator>java -version java version "1.6.0_11" Java(TM) SE Runtime Environment (build 1.6.0_11-b03) Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing)
This problem can be fixed by rebuilding the Job with the same JVM version as the one on the machine where the Job is executed. Follow these steps:
Execute the command to check the JDK version in the execution environment: