Setup Guide
Install And Setup Java
How To Install Java And Setup With ?
Follow these steps to install Java And Setup :
-
Download Java
-
Download .zip file for JDK from https://www.oracle.com/java/technologies/downloads/#jdk18-windows
-
Extract the .zip file at your preferred location.
-
-
Setup Environment Variable for Java
-
Once extracted, a root folder would take place there which will have other sub folders and file like jdk, bin and so on...
-
Copy the full path to the JDK.
-
In my case it's 'C:\Java\jdk'.
-
Now on windows, go to the Environment variables and under the System variables, click on New that will pop the input fields.
-
Enter Variable name as 'JAVA_HOME' and enter the copied jdk path at Variable value.
-
Click on OK to save all the changes.
-
Again in System variables, edit path variable as '%JAVA_HOME%\bin' and save all the changes.
-
-
To verify the java installation, run command 'java --version' on the terminal.
![system variable.png](https://static.wixstatic.com/media/3bc9da_846e416cd8594187b3645c62a4bdceb9~mv2.png/v1/fill/w_525,h_251,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/system%20variable.png)
![jdk path.png](https://static.wixstatic.com/media/3bc9da_e5e54a0bcb6441699aa5c4261d637cd0~mv2.png/v1/fill/w_60,h_16,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/jdk%20path.png)
![path variable.png](https://static.wixstatic.com/media/3bc9da_8b5b94dda686478092495058f7ea06fe~mv2.png/v1/fill/w_54,h_27,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/path%20variable.png)
![jdk bin.png](https://static.wixstatic.com/media/3bc9da_c1f7683dd4de43f8b87a520c2b26920e~mv2.png/v1/fill/w_105,h_99,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/jdk%20bin.png)
![java version.png](https://static.wixstatic.com/media/3bc9da_baa9999b6c2449d9ae55513f2296c94e~mv2.png/v1/fill/w_57,h_26,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/java%20version.png)