I needed to change a existing Job developed under Talend Studio 3.2 that runs on a server with the installed version 1.6.0_03 of Java. Do more with version 3.2 of Talend, I downloaded and installed version 6.1 uses version 1.7 of Java.
I made my changes and test everything is OK. However when I wanted to run the job on the server, I get the error below.
Exception in thread "main" java.lang.UnsupportedClassVersionError: local_project
/vmstoora_lc_devis_0_1/VmsToOra_Lc_Devis : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
I installed version 1.6 of Java on my computer and I has generated the Job activating jre6 preferences.
I still have the problem
How can to generate the job with Talend Studio 6.1 with the Java version (1.6) ?
Hi,
Actually, this problem is usually caused by "a higher JDK during compile time and lower JDK during runtime"
Have you already checked document about:TalendHelpCenter:Compatible Platforms and Java environments?
Java 8 is currently the recommended Java version for all Talend products and modules since v6.0