且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在命令提示符下运行 NetBeans 项目?

更新时间:2022-11-02 23:19:07

如果您在 NetBeans 中单击构建,它应该给您(在您的编译器输出中)一条消息,例如要在没有 Ant 的情况下从命令行运行此应用程序,尝试:java -jar yourPathToRun"

If you click build inside NetBeans, it should give you (in your compiler output) a message like, "To run this application from the command line without Ant, try: java -jar yourPathToRun"