Unlock the power of Java programming with ease! Our latest blog tutorial delves into the world of Java Development Kit (JDK), guiding you through the seamless installation of OpenJDK 11 on your Windows system. Plus, learn the essential steps to configure the environment variable JAVA_HOME for a flawless coding journey.
Download OpenJDK 11
Ready to get Java on your system? Just follow these steps: Click the link to grab Open JDK 11. Since I'm on a 64-bit Windows setup, I went for 11.0.2 (build 11.0.2+9) Windows 64-bit zip from the options.
Once the file is downloaded, simply right-click and unzip the files to wherever you want.
Set OpenJDK 11 Path in Windows
1. Find "Edit Environment Variables": Start by searching for "Edit Environment Variables" on your Windows and choose "Edit Environment Variables for your account."
2. Create a New Variable: Click on "New" under User Variables. In the variable name field, type 'JAVA_HOME' and in the value field, put the path to your JDK folder. Then click 'OK.'
3. Update the Path Variable: Locate "Path" under User Variables, click on "Edit," then "New." Add the path to your JDK bin folder and confirm with "OK."
4. Check Your Java Installation: Open the command prompt and type 'java -version' to ensure your JAVA installation is on track.