Adding jars to the Classpath

One Star

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
One Star

Re: Adding jars to the Classpath

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
One Star

Re: Adding jars to the Classpath

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
One Star

Re: Adding jars to the Classpath

disregard, my bad