Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
shrikavi2008
Contributor
Contributor

Call JAR method using Talend

Hi Team,

I have created a jar file(test_jar.jar) using eclipse for the below code; I want to call the method from Talend.

I understand it can be done using Talend Java component. But my requirement is to call a method of a jar file

Could any one help me on this, how to import this jar into Talend and call the methods.

 

package sample;
 
public class test {
 
public static void main(String[] args) {
String i="" ;
String j="" ;
 
// swap(i, j); 
      System.out.println(i.concat(j)); 
   }
}

 

Labels (3)
2 Replies
fdenis
Master
Master

you can add your code into talend user routine.
https://www.talendbyexample.com/talend-code-routines-reference.html
good luck
akumar2301
Specialist II
Specialist II

Load your jar using tLibraryLoad then create object in tjava.