Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
navds
Creator II
Creator II

How to install java package project wide ?

Hi,

I 've been working with Talend for a few weeks now. I always encounter a situation where it is unavoidable to use java libraries. I checked out that the most used technique is tLibraryLoad. But I am sure some of you has found a smarter way to install package from maven repository for example and use it in your routines and tJava*

 

Please, can I ask for a step by step tutorial ?

Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hello,

There are two ways for you to import and use an external jar.
1)Using tLibraryload component to load the jar file at the beginning of job. for example:
tLibraryLoad
   |
tJava(on tJava, use the external API)

2)Creating a custom routine, importing the external jar file by clicking on the routine name and editing the routine libraries, and then calling this routine in the job.

 

Best regards

Sabrina

View solution in original post

2 Replies
Anonymous
Not applicable

Hello,

There are two ways for you to import and use an external jar.
1)Using tLibraryload component to load the jar file at the beginning of job. for example:
tLibraryLoad
   |
tJava(on tJava, use the external API)

2)Creating a custom routine, importing the external jar file by clicking on the routine name and editing the routine libraries, and then calling this routine in the job.

 

Best regards

Sabrina

navds
Creator II
Creator II
Author

It works, thanks! I didn't know that you can do that directly in routines.