Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在从我的 Eclipse 项目中构建一个可运行的 JAR,并且在将其导出为可运行的 JAR 时,Eclipse 提示我提供一个启动配置。
我的问题是,如果我给出一些论点,比如
java -jar test.jar import.txt export.txt”运行这个jar
它会覆盖导出时给出的启动配置中的参数吗?
因此,您只需要提及您的启动类,即具有该public static main(String[] args)方法的类。
public static main(String[] args)