ComputersSoftware

How to install Java on Windows 7

Java is a cross-platform development and execution environment. With its help, highly loaded and productive software systems are created. Java can run the same in different operating systems - Windows, Linux, Mac. In addition, its use is possible on a wide variety of equipment. In order to run applications in Java or start coding on it, you must first install a set of special software. This article describes how to install Java.

How to install on Windows 7

To install Java on Windows 7, you need to download the latest version from the official website of oracle.com. It is worthwhile to refine at once, that JRE is used for launching, and for programming - JRE and JDK.

The latest versions on the site contain an automatic installer that will run through all the stages of the installation. Before installing Java, you should pay attention to the bit depth of the operating system and browser. For example, if you go through 32-bit Internet Explorer, the online installer on the site will automatically determine that you need a 32-bit version. Therefore, if you need 64-bit, then you have to reinstall the browser.

But you can download the necessary files and manually on the download page. There are several options for systems that help with the question about Java: how to install it:

  • Interactive;
  • offline mode;
  • Offline mode in 64-bit format.

An interactive system contains one small installer file that will download the necessary files from the network and install them. Offline mode means downloading a full version. There are versions for 32 and 64 bits.

How to install Java JDK

To install the toolkit for developing JDK in Windows 7, you need to go to the downloads section on the official Oracle website. There are also versions for 32 and 64 bits. The distribution weighs an order of magnitude greater than the standard JRE version.

After downloading the file must be launched, and the installation will be in automatic mode. After successful installation, you need to perform one more procedure - to set the PATH environment variable. This is necessary in order to be able to compile and run the files, without going every time to the project folder.

Configuring Variables

In Windows 7, this procedure is performed through the control panel, in which you need to find the "System" item. On the left there will be a link to additional system parameters, which should be selected. In the new window, the lowest button with the label "Environment variables" will lead to the setting. To implement the path, you need to create a new variable named "JAVA_HOME". Its value must contain the full path to the files. For example, so: C: \ Program Files \ Java \ jdk. On each computer, the path may be different.

Now you need to change the contents of the Path variable itself. It already exists in the list, so it is enough to select and edit it. It is worth paying attention to the fact that the last value should be set with a semicolon - ";". Then enter the full path to the bin folder, for example - C: \ Program Files \ Java \ jdk \ bin. In the end, there is no need to put any signs. After you click OK, the changes are saved. But to use them, you need to reboot the computer.

Functional Testing

In Windows 7, you can check the success of the installation using the command line. It is usually called a combination of Windows + R. In the terminal, enter the java-version command and press Enter. The system should issue the build version in case of successful installation.

The technology covers many different devices and systems. Especially popular is the programming for the OS "Android", as the code is written in the Java language with an admixture of specific Android APIs. Also Java ME is known on early versions of mobile phones. But ME is a very truncated version, it's rather difficult to develop full-fledged PC applications.

This article details how to install Java on Windows 7. The license for JRE and JDK is free. And this means that you can install Java for free.

Similar articles

 

 

 

 

Trending Now

 

 

 

 

Newest

Copyright © 2018 en.delachieve.com. Theme powered by WordPress.