0

i have a jar application and it is running fine but when i added it to the right click context menu in windows 8. it says an error that this app can not run on your pc. what to do with this problem.

Mohd Faizan Khan
  • 437
  • 1
  • 5
  • 16

1 Answers1

1

You have to specify the Main-Class attribute in the manifest.mf file, inside the META-INF folder inside the jar. Take a look at this answer for details.

Community
  • 1
  • 1
Óscar López
  • 232,561
  • 37
  • 312
  • 386