-6

Trying to convert jar file to executable one on ubuntu 14.04 platform.The executed command is java -jar bank.jar , it throws msg as no main manifest attribute, in bank.jar

Kindly help me to fix this issue

Praveen
  • 11
  • 3
  • how did you convert your jar to an executable jar? – jtahlborn Sep 10 '14 at 14:42
  • possible duplicate of [Can't execute jar- file: "no main manifest attribute"](http://stackoverflow.com/questions/9689793/cant-execute-jar-file-no-main-manifest-attribute) – Holger Sep 10 '14 at 15:01

1 Answers1

0

You doon't need to convert jar to executable. You need a manifest file in your jar. Here you can read about the solution:

Can't execute jar- file: "no main manifest attribute"

Community
  • 1
  • 1
babsaai
  • 61
  • 3