How to install java jdk 19 in windows 11,10,8 And write first program in(JAVA Programming language)

preview_player
Показать описание
In this video we are going to install JDK latest version, and write first program in java programming language.

JDK download link:

after visting above link choose your system whether it is
MACOS, Windows, Linux

and then click on the intaller link, once setup is downloaded check the dowload path and do double or right click to run as administrator on setup to install.

once installation is done, open cmd by using key (window +R) and check whether your installation is completed or not by typing(java -version) in cmd command line, if the installation success then you will get the version and installed date of JDK.

by using cmd and note pad if want to run a program the follow these steps:-
1) opne cmd by using (key Window +R ) and type cmd and press enter.
2)by using cd command change your directory path where you have saved your java file.(always rememeber file should be saved with .java file extension)
4) if any error is thrown by compiler then fixed it and re compile.
if any error is not existed means your program is good and complied succesfully.
and will create a .class file in same path
5) now type java and name of the file, it will give you the expected result.

thanks

In this channel i will regularly updated video regarding java code,java programming, java basics,

#java #javaprogramming #beginners #firstprogram #installation
Рекомендации по теме
Комментарии
Автор

This is really very helpful for beginners. Very clear, short and understandable.👏👏👏

asariqbal
welcome to shbcf.ru