How To Install JDK Compile and Run Your First Java Program Using Command Prompt

Описание к видео How To Install JDK Compile and Run Your First Java Program Using Command Prompt

Hi! I am Md. AB today we will learn How To Install JDK Compile and Run Your First Java Program Using Command Prompt
This video is about setting up Java Development Kit for java programing in Command Prompt. With this, you donot require any IDE for programming.

Compiling and running/execute java program:
(first go to folder(in cmd) where your HelloWorld.java is present.)
javac HelloWorld.java (This will compile .java file and produce .class file)
java HelloWorld (This will execute java compiled file.)

Command prompt tips:
cd = change directory; ex: cd Desktop
dir = directory listing; it shows all files present in current directory/folder
cd.. = to go back to previous folder
E: = To change drive, simply type drive letter and :
exit = close command prompt

EduPark Krupesh
-Krupesh Anadkat.

Комментарии

Информация по комментариям в разработке