This question already has an answer here:

While running the following command on my linux ubuntu 14.04 LTS 64 bit version./ptbridge.jar eth1 cisco I am getting an error which says

bash: ./ptbridge.jar: cannot execute binary file: Exec format error

Can someone guide me what can resolve this for me.

Thanks in advance.

Regards , Prateek manocha

marked as duplicate by user364819, karel, Eric Carvalho, Charles Green, Pilot6 Jun 18 '17 at 11:15

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 3
    .jar files are to be executed using java -jar FILE.jar – ADDB Jun 16 '17 at 8:48
  • @ADDB add this as an answer. Or if you want I can. – user689314 Jun 16 '17 at 8:51
  • @yamboy1 please do. I don't have the time right now. – ADDB Jun 16 '17 at 8:59
  • Do you want me to mention you? – user689314 Jun 16 '17 at 9:00
  • Definitely a duplicate – user689314 Jun 16 '17 at 9:04