Java Beginner Tutorial 6 – CommandLine execution


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”


Send me your comments and feedback