Five 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

 

 

 

  • Data Integration
2 REPLIES
Six 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

Five 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?