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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

Adding jars to the Classpath

Hello All
My task is this:
i have a jar file that has several java classes i wrote. i want to create a job with a tJava component that use the classes. i tried to add the jar in the classpath of the .Java project and then tried to import the classes in the job code . it worked, but when i saved it and close the editor it show an error of unknown classes . also .opening the classpath again showed that the jar wasnlt there.
how can i fix this problem?
regards
Yoav
Labels (3)
3 Replies
_AnonymousUser
Specialist III
Specialist III
Author

Ok. i found a solution. used the user routines and added there the external jar files.
a small remark : if one use a jni and need to locate the .dll file, best to put it on c:\windows\system32 folder
then, using the tJava component call the routine method and it will work
_AnonymousUser
Specialist III
Specialist III
Author

Hello yoava,
>used the user routines and added there the external jar files.
nice.. haow did you do it? where did you find the opetions?
Thank
Gabriel
_AnonymousUser
Specialist III
Specialist III
Author

disregard, my bad