How and why do I need to install Java on a computer?

Until recently, Java architecture was known only to advanced users and developers, but today a lot has changed. As it turned out, many programs are currently written in this free programming language, which gives good prospects for their development. In particular, the client of the famous Minecraft game is written on it, and therefore many users have become interested in how to install Java on a computer. If you are also interested, we invite you to read this article.

install java on computer
However, before talking about the installation process, one can not help but pay a little attention to the technology itself. Java is a programming environment that is also a computing environment developed and maintained by Sun Microsystems. Its peculiarity is that this cross-platform environment is used in many mobile devices and even in spacecraft. In a word, if you work in some application using this technology (and you almost certainly do it), then you must install Java on your computer.

Why install Java?

Given the prevalence, cross-platform and complete openness of the code, one should not be surprised at the huge number of sites and applications that will not work without this technology. If you do not install Java on your computer, then all this wealth may either refuse to function at all, or it may not work correctly. By the way, it is Java that underlies the much-loved Android mobile OS, whose market share continues to increase at an accelerated pace.

We carry out the installation of the application

install java program

Before you install Java on your computer, you need to check whether an older version is installed on it. To do this, you will need to run an application on your computer to emulate command line mode . If you are a beginner, then click on the “Start” button, look for an item with the name “Run”, then enter “CMD” (without quotes) in the command field. Press Enter or the OK button.

After that, a command line window will appear in front of you, in which the cursor will flash on a black background. Copy (without the quotes) and paste the Java-version command into it using the Copy-Paste command and the mouse (the keyboard combination Ctrl + V does not work). After that, you can press Enter.

If this program is already on your computer, then in the first line you will see something like: “Java-version 1.5.0”. Seeing such an inscription, you can not install anything. Otherwise, you must continue the installation.

But! The previous operation requires us to run the command line in administrator mode, and as described above, it most often starts from a simple user. This does not suit us. To be guaranteed to run the utility with administrator privileges, you need to do something else.

how to install java

To do this, click on the “Start” button again, look for the “Find Programs and Files” field, enter CMD there, and then in the window that appears with the search results, look for (as a rule, there will be only this line) the file of the same name. Right-click on it, select "Run as administrator" in the context menu. All! It's time to install the Java program on the computer.

After downloading the installation file, double-click on it with the left mouse button. The “Installation Wizard” window will appear in which you need to click on the Install button, after which the installation process will begin. Depending on the power of your PC and the capabilities of the Internet, it may take a different time. At the end, click on the Close button.

So you found out how to properly install Java!

Source: https://habr.com/ru/post/K7106/


All Articles