如何在Eclipse中运行jar文件 [英] How to run a jar file in Eclipse
本文介绍了如何在Eclipse中运行jar文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
你可以运行JAR的外部工具启动配置,在运行>外部工具>外部工具配置中找到。
I tried to run a jar file by going to Run configurations and then creating a new Java App, but Eclipse wants me to give it a main class and reference to the project. Can't I just give Eclipse a jar file?
解决方案
You could run the JAR with an "External Tool" launch configuration, found at Run > External Tools > External tools Configurations.
这篇关于如何在Eclipse中运行jar文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文