This detailed article shows you How to Install Java JDK 9 on Windows 10, step-by-step, followed by proper screenshots. If you are getting started with Java Programming and you don’t know How to Install Java JDK 9 on Windows 10.
Then in this article, you’ll find everything you needed for Java Programming. From installing Java JDK 9 and setting up the environment variable for Java development and install IDE (Integrated Development Environment) to write and run the Java files.
Also Read: How to Run a Java Program Without IDE?
What is Java JDK?
Java JDK (Java Development Kit) is a software development environment used for developing Java applications. It includes Java Runtime Environment (JRE), a compiler (javac), Java Virtual machine(JVM), and other tools needed for Java development.
JVM executes the Java program line by line. Hence it is also known as an interpreter.
How to Install Java JDK 9 on Windows 10
Before installing Java JDK 9, you have to download the Java JDK 9 file. So, here are the complete steps to install Java JDK 9 on Windows 10:
Step 1: First, you have to download the Java JDK file, click here for the download page. To download the file just click on accept License Agreement and select your operating system. It will download an exe file.
Step 2: After completing the download, just click on the .exe file and it will open the installation wizard. And install the software as you install other software.
How to Setup Java JDK on Windows 10
After completing the installation process you will find a Java folder under your C Drive. There you will find two folders named java JDK and Java JRE. So, you have to set an environment variable for these folders to compile your java file. To set the environment variable
Go to Control Panel > System and Security > System > Advanced System Setting > Environment Variables
or you can watch the video provided.
Now after completing the installation process and setting up the environment variable. Just open the command prompt and type javac to find out whether the javac compiler is properly working or not.
If you find a bunch of statements in the command prompt then Java JDK 9 is fully installed on your system.
How to Run Java Programs
Now to run a Java file you have to install an IDE. IDE is software that allows you to write and run java files. And provide you with the required tool for Java development. The most popular IDE (Integrated Development Environment) used for Java development is Eclipse IDE for Java Developers.
To download it click here and install it as you install other software.
And use Eclipse IDE to write and run your Java files.