Failed to build job - 6.1

Shicong Hong
Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Open Studio for Data Quality
Talend Real-Time Big Data Platform
Installation and Upgrade
Talend Studio

Failed to build job

Prior to v6.0.0, a JRE was sufficient to build a Job, but since version 6.0.0, Talend Studio integrates with Maven and now requires a JDK to be installed. This article details one possible cause for a Job to fail building and provides the corresponding solution.

A number of reasons can cause a job building to fail. In this article, only the JDK installation and setting related error is detailed.


This article is relevant for all Talend products v6.0.0 or higher.


The integration of Maven in Talend Studio v6.0.0 requires a JDK to build Jobs. Therefore a JRE is no longer sufficient to build Job completely. The following error may display in the Error.log view when building job using a JRE instead of a JDK.

!ENTRY org.talend.platform.logging 4 0 2015-09-10 16:17:02.257
!MESSAGE 2015-09-10 16:17:02,254 ERROR org.talend.commons.exception.CommonExceptionHandler  - [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile)
on project routines: Fatal error compiling: tools.jar not found: C:\Program
Files\Java\jre7\..\lib\tools.jar -> [Help 1]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1] 

Check your JDK installation and settings from the following aspects:

  • Since version 6.0.0, Java 8 is recommended and Java 7 is a minimum. Make sure you installed the appropriate Java version.
  • A JDK must be installed. Refer to this article for further information about what the folder structure should look like: .
  • In Talend Studio, configure the JDK path in Windows > Preferences > Java > Installed JRES . Refer to the Requiring a JDK installation to build jobs starting from version 6.0 article.
Related topics

If the solution does not fix your issue, check the related topics listed below or create a topic in Talend Forum or create a JIRA issue on bugTracker with detailed error information.

  • Failed to build a Job - routine not compiling (link)
  • Failed to build a Job - maven setting (link)