简体   繁体   English

如何将Java eclipse插件项目导出到可执行jar文件?

[英]How to export Java eclipse Plugin Project to a executable jar file?

I am developing an eclipse application as a plugin project. 我正在开发一个eclipse应用程序作为一个插件项目。 I am able to export it as .product file and I am able to run it outside eclipse. 我可以将其导出为.product文件,并且可以在eclipse之外运行它。 Now, I have a requirement to schedule tasks in my plugin project. 现在,我需要在插件项目中安排任务。 So, I have to make my project as JAR file and use that in scheduling. 因此,我必须将我的项目制作为JAR文件,并将其用于计划中。 Since Plugin projects do not contain any Main methods, how to convert it to a Runnable JAR File? 由于插件项目不包含任何Main方法,如何将其转换为可运行的JAR文件?

I believe you would need main method to make it as runnable java project, please find the instructions below link 我相信您将需要主要方法使其成为可运行的Java项目,请在下面的链接中找到说明

https://support.smartbear.com/alertsite/docs/monitors/web/selenium/export-eclipse-java-project-as-runnable-jar.html https://support.smartbear.com/alertsite/docs/monitors/web/selenium/export-eclipse-java-project-as-runnable-jar.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM