Starting from version 6.0, Talend Studio requires a JDK installation instead of just a JRE 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 these steps to configure the JDK path in Talend Studio:
Click Add to install a new JRE, or click Edit to edit an existing JRE. Browse to the location where your JDK8 is installed.
If you have several Java installations, make sure to remove the JREs in the Preferences > Installed JREs window, to avoid the JRE taking precedence over the JDK.