当前位置: 动力学知识库 > 问答 > 编程问答 >

java - Jar file is not running in right click context menu

问题描述:

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.

网友答案:

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.

分享给朋友:
您可能感兴趣的文章:
随机阅读: