How to setup classpath in Talend Project settings

Highlighted
Seven Stars

How to setup classpath in Talend Project settings

Hello,

 

When a job is executed I want to load runtime dependencies jar from a particular location for that I am setting the path of that location in Talend->Project Settings -> Build->Shell Settings->Bat. I have also attached an image of the settings. But somehow job is not able to locate jars from the classpath. Tried giving both forward and backward slash.

 

So am I missing something here? 

 

Configuration:

Windows 7 64 bit

Java 8

Talend 6.3.1

 

 

 

Eight Stars

Re: How to setup classpath in Talend Project settings

I believe you need to set the classpath in the Talend Preferences dialogue box (see picture).

 

David

Seven Stars

Re: How to setup classpath in Talend Project settings

Thanks for the prompt reply David. But even after adding the path of my external Jar in classpath settings job is still not able to locate the Jar at runtime. So my question is does it picks external Jars only from Talend's directory. Won't it work if I give some custom folder path as shown in attached image? Or am I missing something here?

Five Stars

Re: How to setup classpath in Talend Project settings

I have the same problem

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog