To install Java on a Windows 7 Ultimate 64-bit system

I recently purchased a new desktop computer and installed the 64-bit version of Windows 7 Ultimate. As a Java Developer, my first step after completing the initial setup was to download and install the JDK.

Until now, I had been utilizing Windows XP, Solaris, or Mac OS for my development needs. Recently, I installed Java on a Windows 7 64-bit operating system, which was the first time I did so.

How to install Java on a Windows 7 operating system

I am offering instructions on how to download, install, and set up Java in a 64-bit operating system of Windows 7.

First, visit the JDK 14 Release Page and acquire the zip file specifically designed for the “Windows/x64” build.

Jdk 14 Build Windows

Step 2: Extract the ZIP file (jdk-14.0.1) that has been downloaded, and move it to the folder named “program files”.

Step 3: Configuring environment variables to enable the execution of java commands using the command prompt.

To do this, navigate to Control Panel, then access the System section and choose Advanced system settings. In the window labeled “System Properties,” switch to the Advanced tab and locate the “Environment Variables” button.

In the section for System Variables, we need to configure JAVA_HOME and modify the Path variable. The variable names and corresponding values are as follows:

The designated location for Java is C:\Program Files\jdk-14.0.1, identified by JAVA_HOME.

To include “;%JAVA_HOME%\bin” in the Path variable, save the changes by clicking the Ok button.

Step 4: We are now able to use java commands through the command prompt. To verify, you can execute the “java -version” command, which will display the current Java version.

Key points

  • From JDK 12 onwards, Oracle JDK requires a license to use in production and commercial applications. So, if you want to use Java free of cost, use OpenJDK.
  • If you need paid support, then you can use OracleJDK and opt for their paid license.

 

More tutorials

Comprehending Java’s Data Types(Opens in a new browser tab)

How to enable a port on a Linux operating system.(Opens in a new gibrowser tab)

Tutorial on MongoDB(Opens in a new browser tab)

Toggle button in Androidpackage installation?(Opens in a new browser tab)

Interview Questions and Answers specifically about Androidpackage installation?(Opens in a new browser tab)

Leave a Reply 0

Your email address will not be published. Required fields are marked *