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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] How to import Package to effect entire Talend Job

Hey,
I know how to import a package into a single tJava component, but I would like to be able to import the package to effect the entire job.
Screenshot is what I currently have.
I would like to import java.util.Calendar once and be able to use it in any component in that Job.
Thanks,
Brian
Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi Brian,
An easy way to do this would be to use the tLibrary component to import actual library files from java. This way you will be able to import an entire jar and any package. Although I am sure that if you import a package through the tJava component it is globally imported by default meaning you can use it in other components. (if you click on the code tab at the bottom left you will be able to see it will be part of your imports)

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Hi Brian,
An easy way to do this would be to use the tLibrary component to import actual library files from java. This way you will be able to import an entire jar and any package. Although I am sure that if you import a package through the tJava component it is globally imported by default meaning you can use it in other components. (if you click on the code tab at the bottom left you will be able to see it will be part of your imports)
Anonymous
Not applicable
Author

Thanks Dean,
Exactly what I was looking for.