Five Stars

How to run a job using its jar? "No main manifest attribute"

Hi,

I've build my job into a zip file. Once extracted, here is the files that I got : 

files.PNG

It works when I run the .bat file, but when I try to run directly the jar file with this command line : "java -jar myjob_0_1.jar", I have this message : 

no main manifest attribute in myjob_0_1.jar

How can I make this works?

 

 

 

1 REPLY
Moderator

Re: How to run a job using its jar? "No main manifest attribute"

Hello,

After you export the job script, unzip it and click the .bat file (not the .jar file) to run the job out of TOS. Did you want to develop a program in eclipse who call your talend job?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.