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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
mr_burns
Contributor
Contributor

Talend Open Studio 8 - How to create single runnable jar?

Hi,

I am quite new to Talend Open Studio and need your help please.

A few weeks ago I created a simple job using TOS V7.x. I was able to create a single executable jar out of it, but unfortunately I do not know anymore how I could get there.

Now I have installed TOS 8.x and wanted to figure out how to create a single executable jar, but I did not succeed.

Did this procedure change from TOS 7.x to TOS 8.x?

What I did:

I created a simple 'HelloWorld' job with just one tMsgBox inside. Then I right clicked the job inside the 'Job designs' section and choose 'Build job'.

But for some reason I can only select a *.zip format - but I want to create a single jar where all dependent jar's are packed into one single jar as I did (somehow) in the past (using TOS 7.x).

What I am missing? Or has it changed from TOS 7.x to TOS 8.x and I cannot do it anymore?

Thanks for any help...

Labels (2)
3 Replies
Anonymous
Not applicable

mr_burns
Contributor
Contributor
Author

@Xiaodi Shi​ , thanks but that does not really answer my question.

The 1st link you provided shows the way to create a *.zip file - what I don't want.

 

The 2nd link does not provide a way to create a single *.jar - it just says 'Export the job' - nothing more.

 

I know using TOS 7.x it was a few clicks to create a standalone jar with all depentent jars packed inside.

Then I could run this jar like this:

 

java -jar myjob.jar

 

Anonymous
Not applicable

Hello,

So far, the build types are Standalone Job(.zip file) and OSGI Bundle For ESB(.jar file) without exporting job as a runnable jar file option.

Building a Job as a standalone Job will help you to export the .bat and/or .sh files necessary to launch the built Job and then you are able to execute it(. bat file for window and .sh file for Linux) in cmd.

Best regards

Sabrina