Hi Marcel,
Ah, I didn't pay close enough attention to your question and the sample code. That should teach me not to post responses after a long day.
After reviewing the documentation, I believe SysLib.callCmd would execute on the local machine; however, I could be wrong about that (it's now early in my work day and the coffee hasn't kicked in yet).
I'm thinking that maybe coding a linkage part in the build descriptor mapped to QCMDEXC or your own custom program object on the IBM i which calls the shell script.
Are you generating java project? What is your server?
canutri