為了運行它,我在命令行窗口中執行以下命令:java -jar helloworld.jar這可以正常工作, ... getRuntime.exec()允許我們啟動cmd.exe並在其中執行命令。
確定! 回上一頁