How to setup Main class in manifest file in jar produced by NetBeans project

前端 未结 10 1817
我在风中等你
我在风中等你 2020-11-29 10:25

I have the following problem. I have a Java project in my NetBeans IDE 6.8. When I compile it and it produces a .jar file containing everything possible, the META-INF is not

10条回答
  •  再見小時候
    2020-11-29 10:53

    Adding manifest.file=manifest.mf into project.properties and creating manifest.mf file in the project directory works fine in NB 6.9 and should work also in NB 6.8.

提交回复
热议问题