Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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

 

 

 

Labels (3)
3 Replies
Anonymous
Not applicable
Author

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

 

David


Capture.PNG
Anonymous
Not applicable
Author

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?


Classpath settings.jpg
jeanphi45
Contributor
Contributor

I have the same problem