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

前端 未结 10 1805
我在风中等你
我在风中等你 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:51

    It looks like you are running into a bug in the way NetBeans 6.8 creates the jar for a Java Library Project.

    The issue implies that there is a work-around.

    I have not been able to verify that with NB 6.8 and/or NetBeans 6.9-dev...

    You may want to register with the NetBeans.org website/issue tracker and update the issue and add your 'vote'.

提交回复
热议问题