资讯

How to run a Java program using Command Prompt First things first, you will have to write the code that you want to run and save that as a Java executable file.
To open the command prompt in Windows, open the Start menu and search for "cmd." Press Enter or click on the result to open a command window—or right-click the option to run it as an ...