Compiling Java Programs using the Command Line

Published: 11 November 2019
on channel: Easy Learning
284
7

How to run a java program
Open a command prompt window and go to the directory where you saved the java program (MyFirstJavaProgram.java). ...
Type 'javac MyFirstJavaProgram.java' and press enter to compile your code. ...
Now, type ' java MyFirstJavaProgram ' to run your program.
You will be able to see the result printed on the window.


On this page of the site you can watch the video online Compiling Java Programs using the Command Line with a duration of hours minute second in good quality, which was uploaded by the user Easy Learning 11 November 2019, share the link with friends and acquaintances, this video has already been watched 284 times on youtube and it was liked by 7 viewers. Enjoy your viewing!