“启动配置”试图导出Runnable Jar时显示空白? [英] "Launch Configuration" Shows up Blank When Trying to Export Runnable Jar?
本文介绍了“启动配置”试图导出Runnable Jar时显示空白?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
文件>导出...> Runnable JAR文件
并选择下拉菜单启动配置
,我所得到的只是一个空白栏。 如何让我的主要课程出现?
解决方案
在Package Explorer面板中,右键单击要执行main(...)的类,然后选择 Run as - > Java应用程序
运行您的程序。
此过程创建可以使用的启动配置(并保存,如果您共享) / p>
I've gotten this to work in the past, but now whenever I choose File > Export... > Runnable JAR File
and select the drop-down menu "Launch Configuration"
, all I get is a blank bar.
How can I get my main class to show up?
解决方案
In the Package Explorer panel, right-click on the class you want to have main(...) executed in and choose Run as -> Java Application
to run your program.
This process creates a launch configuration you can use (and save too, if you make it shared)
这篇关于“启动配置”试图导出Runnable Jar时显示空白?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文