ComputersProgramming

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

People who just installed a brand new operating system on their computer or laptop often encounter a message on the Internet by the type "Java needs to be installed for proper operation." 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 issue 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?

With the message about the need to install software most often encounter 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 among other things 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 personal computers, 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 you urgently 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'll look at the reasons and tell you what to do if Java is not installed on Windows 7.

  1. So, consider the common problem. The fact is that Java is downloaded from the official site in the form of a web installer. и и открытия скачанного файла лаунчер через подключение к и нтернету подгрузит необходимые файлы и поместит их в библиотеку , по с ле чего Java будет работать. That is, after this download and opening the downloaded file, the launcher will download the necessary files through the connection to the Internet and put them in the library , after which 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, there are two ways out. The first one involves disabling all antivirus programs. The second is more trivial, you can just download the offline installer on the site. Its size is about 50 MB.

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

  3. In rare cases, viruses can be damaged, so download the antivirus 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 case of emergency, go to 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 of various 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.

  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 completion, visit the folder where the downloaded file is located.

  5. Unzip the contents of the package in a convenient place for you. 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 it. To do this, go to the above folder and go to "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.

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.

In the process, you may be asked permission, always respond positively to them.

Similar articles

 

 

 

 

Trending Now

 

 

 

 

Newest

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