How to run first java program
In this short video, I have demonstraited how to run the java program with older way without any IDE using a text editor and a command prompt.
Step I followed in this video
Step1: Create a folder
Step2: inside created folder create a .java file eg: Main.java
Step3: Open the command prompt and reach the Main.java location
Step4: javac [FILE_NAME].java
-- use this command to compile
Step5: java [FILE_NAME]
-- use this command to run the program
Result: Output on console