[resolved] How to modify the classpath setting in a Talend Shell Launcher Script

Four Stars

[resolved] How to modify the classpath setting in a Talend Shell Launcher Script

Hi,  Let me ask a quick question.
Is there any way to modify the classpath setting
in a Talend Shell Launcher Script, which is generated by Export Job in TOS 5.6.2?
I would like to change
cd `dirname $0`
ROOT_PATH=`pwd`
java -Xms256M -Xmx1024M -cp $ROOT_PATH/../lib/dom4j-1.6.1.jar:...
to
cd `dirname $0`
ROOT_PATH=`pwd`
java -Xms256M -Xmx1024M -cp /lib/my.jar:$ROOT_PATH/../lib/dom4j-1.6.1.jar:...
in order to add /lib/my.jar at the beginning of the classpath.
Thank you

Accepted Solutions
Seventeen Stars

Re: [resolved] How to modify the classpath setting in a Talend Shell Launcher Script

The only way to do this is adding the library per tLoadLibrary to you job. This will take care the lib is inside the classpath and it is also already deployed.

All Replies
Seventeen Stars

Re: [resolved] How to modify the classpath setting in a Talend Shell Launcher Script

The only way to do this is adding the library per tLoadLibrary to you job. This will take care the lib is inside the classpath and it is also already deployed.
Four Stars

Re: [resolved] How to modify the classpath setting in a Talend Shell Launcher Script

Hi jlolling, Thank you for the information. I appreciate your help.