How to download and install java 17 on Windows 10/11 or Windows Server | Run first java program

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello guys in this video we will see how to download and install Java 17 on Windows 11 operating system the process is same for Windows 10 or Windows 11. or Windows Server open browser then go to this link that is oracle.com Java then technology then downloads I will keep these links I will keep whatever the commands are links used in this video in the video description paste that and enter see we have Javan 19 and Java 7. at the time of making this video Java 17 is the stable version click on this Java 17 then here we have three operating system types Linux Mac OS and windows click on Windows now click on see here we have archive file installer that is exe file and MSI file click on this x64 installer now we are going to install by using x64 installer click on this one click on this link to download the jdk or Java for Windows see once we click done download has been started it didn't ask us for to login or register it is a free click on scholar go to downloads see the size is 153 megabytes wait until this download completes I am pausing this video until this download completes once download is completed now click on this jdk windows 64 bin exe file if you receive user account control pop-up then click on S click on next it is going to install Java on this directory if you want to change this directory click on this change and browse okay I am going with default location then click on next see installation has been completed click on close now we are going to add jdk path in environment variables C drive program files Java copy this path then in such search for environment C click on this edit the system environment variables now click on this environment variables now in system variables see here system variables click on the path then click on edit at the bottom now click on new then paste that path then click on OK again click on OK click on ok now open command prompt run Java hyphen hyphen version see we have successfully installed Java 17 LDS version if you want to create and execute Java program just open Notepad paste this command save it as in this path in the current part that is users and Hardware schools you can specify any path then we have to switch from this path the new file name is demo dot Java it is better to give this in quotations then select all files and click on Save you have created a Java file now we have to compile this one darc I have the demo.java file Java C then demo dot Java which are successfully compiled now run Java demo Java Auto schools see here we have to give you the class name class name is artist course so now it has printed this output from the console if you edit this one all over then save it then run again then again without then again we have to compile Java see demo dot Java now run Java after schools see the output got changed even if you add one more line second line saved afraid if you run the same Java artist course output not changing for every modification we have to compile the Java file so Java C demo Dot Java now run Java class name see the output contain now out see second line added in the output so in this video we have seen how to download and install Java 70 version on Windows 11 operating system the process is same for Windows 10 or Windows 11 or Windows server for more Java videos please subscribe my channel thank you
Info
Channel: r2schools
Views: 1,762
Rating: undefined out of 5
Keywords: How to install java 17 on Windows 10/11 or Windows Server, How to install java 17 on Windows 10, How to install java 17 on Windows 11, How to install java 17 on Windows Server, How to install java 17 on Windows, Download and install Java on Windows 11, Download and install Java 17 on Windows 11, How to install java on Windows 10, How to install java on Windows 11, How to install java on Windows Server, How to install java on Windows, Install Java 17 on Windows, Java 17 download
Id: pcrLdAxW0f8
Channel Id: undefined
Length: 8min 2sec (482 seconds)
Published: Mon Jan 02 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.