更新时间:2023-09-29 22:11:16
你可以使用 jar cf yourCompAppJar.jar Main.class
来创建你的jar文件,如果你有JDK 6就可以使用 cfe 指定入口点。
You can use jar cf yourCompAppJar.jar Main.class
to create your jar file, if you have JDK 6 you can use the cfe to specify the entry point.
如果您使用的是Eclipse:
If you are using Eclipse :