Getting error message 'Cannot run program "<SOME_PATH>/java.exe"' when running a Job in Studio after Java update

Problem Description


After updating Java, you get the following error message when trying to run a Job in Talend Studio 6.x:

Cannot run program "<SOME_PATH>/java.exe": CreateProcess error=2 The system cannot find the file specified.


Root Cause


In the error message, <SOME_PATH> is the full path where the previous Java version was installed. During the Java update, the version was replaced with a new one. Therefore, this path is no longer valid and the Java executable is not found.




Update Studio preferences to set the new, valid Java executor location.


  1. In Studio, navigate to Window > Preferences > Talend > Java interpreter.
  2. Click Browse and navigate to the new java.exe file.



  4. Click Apply, then click OK.
Version history
Revision #:
6 of 6
Last update:
‎09-29-2018 12:18 AM
Updated by:
Labels (3)