/ / Java is not installed: what to do? How to install on Ubuntu?

Java is not installed: what should I do? How to install on Ubuntu?

People who just installed a brand newoperating system to your computer or laptop, often encounter a message on the Internet by the type "For correct operation, you must install Java". Inexperienced users of this message can be horrified and cause confusion. But do not panic, you have come to the right place. This article will detail the question of what the software is for, and what to do if Java is not installed. There will also be a detailed installation instructions for both Windows users and Linux Ubuntu users.

What is Java?

Logotype

With the message about the need to install software more oftenall face people who have recently installed a new operating system. It appears on the Internet when you try to open a page or start the application. From this we can conclude that it is necessary to run programs written in this language. Yes! Java is a programming language, and it is everywhere. Nowadays, almost all sites in their code use this language, and by the way it was created in 1995, and there are still no analogues of its level. All because he is constantly updated and improving. Because of what, in turn, he is the best in the speed of processing information, he has incredibly reliable protection and he is very reliable.

This language is used not only on personalcomputers, it is distributed everywhere. The application was found in game consoles and in supercomputers. Therefore, its necessity becomes clear.

So, we have figured out the concept, now we need to go over to the main question - what to do if Java is not installed?

Java is not installed on Windows

If you do not have Java software on Windows, then youurgently need to install it. You can do this by visiting the official website of the application. But it also happens that you downloaded the program, and it for some reason refuses to be installed on your PC. Now we will analyze the reasons and tell you what to do if you do not install Java on Windows 7.

does not install java

  1. So, let us consider the frequently encountered problem. The fact is that Java is downloaded from the official site in the form of a web installer. That is, after this downloadand and discovery downloaded file launcher via the connection to andInternet podgruzit necessary files and put them in the library, byfromle of what Java will work. But this is in an optimistic version, it happens that the download and installation of the program are blocked by antiviruses, considering that the executable action threatens the system. Out of this situation, exit two. The first one involves disabling all antivirus programs. The second one is more trivial, just on the site you can download the offline installer. Its size is about 50 MB.

  2. It may even be that installing a new versionJava interferes with the previous one. To solve this problem, enter through the control panel in the "Programs and Features", and there find the Java in the list and delete it, then retry the installation.

  3. In rare cases, viruses can be damaged, so download the antivirus software if you do not have it, and check for them.

  4. Errors in the registry can also block the installation of Java, so download Cclaner or any similar program and clean the registry.

  5. If no method has helped, visit the Java folder, which is the path of the C - ProgrammFiles - Java drive, and delete all files clean.

  6. And in extreme cases, enter the "Windows Update Center" and update the operating system. Sometimes it helps.

Now you know what to do on Windows if Java is not installed. As you can see, there are lots of options.

How to install Java on Ubuntu?

Now we'll talk about how Java is installed on the Ubuntu operating system. Various methods will be considered. Linux users know perfectly well that on almost all distributions the installation is differentth programs can proceed in several ways. So that everyone will find his own, we'll cover them all.

Manually Installing Java

The first method presented is suitable for users of GNU-based distributions.

does not install java on windows 7

  1. Visit the Java site and click there Download. You will be taken to the download page of the program.

  2. In the list, select the version you need, in this case it is a file with the extension ".gz".

  3. Click on the appropriate link to start the download.

  4. After its end, visit the folder where the downloaded file is located.

  5. Unzip the contents of the package to theyou place. The best option is to install into the / usr / java folder. After the done manipulations along the specified path, a folder will appear according to the type "jdk.1.8.0_111" - this is Java.

  6. The program is installed, it remains to run. To do this, go to the above folder and visit "bin", there is an executable file.

If Java is not installed in this way, then the second one will be presented below.

Installing with Terminal and Package Manager

As mentioned above, installing Java on Ubuntu can be performed in several ways. We present to your attention the second way of installation, through the terminal.

Our main task is to install Java. Ubuntu is friendly to this application and places it in its repositories, so you can easily use the terminal.

  1. Open the terminal by clicking on the corresponding icon or by using the keyboard shortcut Ctrl + Alt + T.

  2. We enter the first line: sudo apt-get install openjdk-7-jdk openjdk-7-jre icedtea-7-plugin.

  3. Before you will appear a wall of text, do not pay attention, most importantly, when the question appears, answer it yes, by typing "Y" or "D" depending on the system.

  4. The program is installed.

installing java

As you can see, everything is done faster through the terminal, and those who do not like to use it can use the Synaptic package manager.

  1. Open the package manager.

  2. In the search box, enter "openjdk-7-jdk".

  3. Check the box next to the required file.

  4. Click the button in the top panel to start the installation.

java ubuntu

In the process, you may be asked permission, always respond positively to them.</ span </ p>

Read more: