Java Beginner Tutorial 6 – CommandLine execution

Notes:

Today we will learn:

1. How to compile and run java program from command line


Step 1
Goto command line / terminal – goto the location of java file

Step 2
Compile java program
javac “name of java file”

Step 3
Execute java program
java “name of java file without extension”



JAVA PLAYLIST – 
https://www.youtube.com/playlist?list=PLhW3qG5bs-L_qj1L5hnHvJYeFpQ_g4UuU

Send me your comments and feedback


 

Leave a Reply

Your email address will not be published. Required fields are marked *

eight + two =