Java 8 Support

author
Talend Documentation Team
EnrichVersion
6.4
6.3
6.2
6.1
EnrichProdName
Talend Data Services Platform
Talend Big Data
Talend Platform for Enterprise Integration with Big Data
Talend Data Integration
Talend Real-Time Big Data Platform
Talend Big Data Platform
Talend Open Studio for ESB
Talend Open Studio for Big Data
Talend Platform - Universal
Talend Open Studio for MDM
Talend MDM Platform
Talend Open Studio for Data Integration
Talend Data Fabric
Talend Open Studio for Data Quality
Talend Data Management Platform
Talend ESB
Talend Platform for Enterprise Integration
task
Installation and Upgrade
EnrichPlatform
Talend Studio

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.

Environment

All Talend products and all versions are concerned by this article, including Studio, Talend Administration Center and Talend 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)