Starting from version 6.0, Talend Studio requires a JDK installation instead of JRE only to build jobs, and you must configure the JDK path in Windows > Preferences > Java > Installed JRES.
Staring from version 6.0, a Wrong Java setup dialog pops up whenever Talend Studio starts up, as seen below:
You are required to install a JDK on your machine where Talend Studio is installed, and you must configure the JDK path in Window > References > Java > Installed JRES in Talend Studio before you build jobs. Otherwise, the target archive file will not be created.
Assuming the JDK installation path is "C:\Program Files\Java\jdk1.8.0_45", follow the below steps to configure the JDK path in Talend Studio:
Conflicts between installed JRE/JDKsIcon
If you have several Java installed, make sure to remove the JREs in Preferences > Installed JREs window, in order to avoid the JRE to take precedence over the JDK.