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

Announcements
January 14th - Discover the Trends Shaping AI in 2026: Register Here!
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

[resolved] How to create a runnable jar

Hello guys,
Can somebody tell me step by step how to create a runnable .jar file?
I'm not understanding whats the 'launch configuration' =/
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable

You need just to export you job script.
A simple right clik on your job and you can create your runnable jar.
The export create a zip which include batch for launch your jar.

View solution in original post

8 Replies
Anonymous
Not applicable

You need just to export you job script.
A simple right clik on your job and you can create your runnable jar.
The export create a zip which include batch for launch your jar.
_AnonymousUser
Specialist III
Specialist III
Author

Thank you so much man!
It worked. 😃
Anonymous
Not applicable

I have same problem because i not understand how and where create 'launch configuration' =/.
An other problem is: why in jar create whits export job is automatically insert an Exit? when i create a bat that contain 2 bat create with export job the first start and run but the second do not start.
Anonymous
Not applicable

You can start more than one Job with "start /wait" in your custom .bat :
In startAllTosJob.bat :
start /wait c:\temp\TosJob1_01_run.bat
start /wait c:\temp\TosJob2_01_run.bat
...
Hope that helps.
Anonymous
Not applicable

Thank
I testing and is beatiful solution
Anonymous
Not applicable

If the proper way to create a runnable jar is by right clicking on the job, what purpose does the menu option File -> Export --> Java --> Runnable Jar File serve?
Anonymous
Not applicable

I right click on the job, but don't see the option to create a runnable jar, just and export to zip. I'm using TOS 4.2.0
Anonymous
Not applicable

Actually the "export to zip" is probably the solution you need.
Supposing your job name is "foo". You will find in the foo.zip a folder named "foo".
In this folder there should be two folder one named "lib" the other "foo". In this second "foo" folder is located a runnable jar and an associate .bat file.
FYI, i'm using Talend 4.2.2 and like you, i don"t see the point of the "option File -> Export --> Java --> Runnable Jar File"
Hope my information will help you.