Studio Job throws 'java.lang.Object cannot be resolved' error

Problem Description

When trying to run a Talend Studio Job, fails with the following error:

The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files

 

Root Cause

The Job is using the wrong configuration for the JRE.

  • The location is set to:

    C:\Program Files\Java\jdk1.8.0_***\bin

  • The location should be set to:

    C:\Program Files\Java\jdk1.8.0_****

 

Solution

To resolve this issue, perform the following steps.

  1. In Studio, navigate to Window > Preferences > Java > Installed JREs.

  2. Remove \bin from the value in the Location column.

Version history
Revision #:
4 of 4
Last update:
‎04-12-2019 01:53 PM
Updated by: