In This Article, You Will Learn to Install Java.
Table of Contents
Check Java Install
To check whether Java is installed on Windows PC or not, open Command Prompt by typing cmd in the Windows search bar.
Type the following code in cmd
If Java is installed it will show the current version (depending on the version) of Java installed on the PC.
If you don’t see the result as in the above image, then download Java from Java Website
Java in Visual Studio Code
In this article, we will use Visual Studio Code to run Java files. There is another text editor as well that you can use like IntelliJ IDEA, Netbeans, or Eclipse to manage a large collection of Java files and run code smoothly.
To set up your Java Environment quickly, we suggest downloading the Coding Pack for Java, which is the bundle of VS Code, the Java Development Kit (JDK), and a collection of suggested extensions to get you started quickly.
To install Visual Studio Code with Java (VS Code) visit to
If you have already installed VS Code and want to add Java support to it, we recommend using the Extension Pack for Java, a collection of extensions suggested by Microsoft:
If you find anything incorrect in the above-discussed topic and have further questions, please comment below.