Eclipse: include source code while exporting as runnable jar

后端 未结 3 441
北海茫月
北海茫月 2021-01-17 20:09

I understand how to include other needed libraries or outside resources while creating a runnable .jar file in eclipse, but what I don\'t see is an option to also include th

3条回答
  •  执念已碎
    2021-01-17 21:09

    I know this is answer is very late, but for those who still read this:

    Eclipse has this option. You probably just did not notice it. I haven't checked since what version, Eclipse Luna has it for sure.

    • Export --> Jar File
    • then do not click Finish, but click Next.
    • You have more options there.
    • You will probably have to click Next twice to get to the Main Class selection.

提交回复
热议问题