0

I have tried the example as the same as written as answer from this link'How to create a .jar file using the terminal' to create a jar file from command prompt. But I am getting an error 'no main manifest attribute , in Helloworld.jar'. What will be the problem? Please help.I done the same as explained in that method.

Community
  • 1
  • 1
androidGenX
  • 1,108
  • 3
  • 18
  • 44

1 Answers1

0

Solved it using instead 'jar cfe HelloWorld.jar HelloWorld HelloWorld.class' of 'jar cfm HelloWorld.jar Manifest.txt HelloWorld.class'. Thanks guys!!

androidGenX
  • 1,108
  • 3
  • 18
  • 44