Java 8 Support
Java 8 is currently the recommended Java version for all Talend products and modules since v6.0. Although you can still use Java 7, Java 8 is the only version of Java that is officially supported from Talend v6.0 onwards, due to the end of Oracle support for Java 7.
Prior to v6.0, the recommended Java version was Java 7.
All Talend products and all versions are concerned by this article, including Studio, Talend Administration Center and DQ Portal.Symptoms
If you are using JDK 1.8 (Java 8) and a Talend product version prior to 6.0, the Studio starts and allows you to create your Jobs. However when executing or exporting a Job, a compilation error appears such as:
Java 8 compilation error
The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files
Note that the compilation error can occur in various places in the Studio or other Talend applications, as well as at various moments of your development process, depending on your actions.Resolution
If you are working with a version of Talend prior to v6.0, downgrade the version of Java used to version 7.
Alternatively, upgrade your Talend products to v6.0 or higher that fully supports Java 8.Related Topics
- Failed to build job (link)
- Failed to build a Job - routine not compiling (link)
- Failed to build a Job - maven setting (link)