Introduction
This article helps you to set a path for environmental variables to execute the Java Programs in Windows 10.
On Windows 10 generally, the systems will be having an anonymous path of the variables in the system. The system needs to change that path to a particular Java path. For applying this process, the following steps need to be performed.
Download and install the Java Development Kit from the given link
here.
Step 2
Search for the Javac file location in C Drive and copy the path.
Step 3
After copying the path, search for the Environment variables in windows and tap Environmental Variable settings.
Step 4
Click on the path and edit it.
Step 5
Paste the copied path of the Javac file and tap on Ok.
Step 6
Now open the cmd and successfully run your Java Programs.