简体   繁体   English

从Eclipse导出Java GUI映射

[英]Export Java GUI map from Eclipse

I wrote a Java App - a calculator to convert temperature between Kelvin, Celsius and Fahrenheit. 我写了一个Java应用程序-一个在开氏,摄氏和华氏温度之间转换温度的计算器。

The app finally works with a bunch of clearly bugs but anyway, my question is how to export my Java App out of Eclipse. 该应用程序最终可以解决许多明显的错误,但是无论如何,我的问题是如何从Eclipse中导出Java应用程序。 So I can single click and open that app without IDE. 因此,我可以单击并在没有IDE的情况下打开该应用程序。

Thanks. 谢谢。 在此处输入图片说明

You mean an export to a runnable jar file? 您的意思是导出到可运行的jar文件?

File => Export => Java => Runnable Jar file. File => Export => Java => Runnable Jar文件。 Then select yout project and main class and done. 然后选择您的项目和主要课程并完成。

You have to create a jar file from your project. 您必须从您的项目中创建一个jar文件。 Here's a great SO post that shows you how to do it, it also has pictures :-) 这是一篇很棒的SO帖子 ,向您展示了操作方法,其中还包含图片:-)

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

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