How to Download Java

Trying to start a Web application to download videos from the Internet, did an error message appear regarding the absence of Java software on your computer? Don't panic. It is a free software platform required to run many online programs and services. If you want to deal with it, I therefore suggest you read this guide of mine dedicated to how to download Java.

Therefore, place yourself comfortably in front of your trusted computer and follow, step by step, the instructions on what to do that you find below to download the package Java Runtime Enviroment on Windows, macOS and Linux. For completeness of information, it will also be my concern to show you how to download Java Development Kit (JDK), the package that contains all the tools needed to develop applications in this format.

Then? What are you doing still standing there? Get to work right away. It's much simpler than you might think, I assure you. In any case, I sincerely hope that in the end you can feel very happy and satisfied with what you have learned. Happy reading and good "work"!

Minimum Requirements

Before explaining how to download Java, you must make sure that your computer meets the minimum requirements for its execution and that you have at least one of the supported browsers. Find out everything below.

Windows

  • Windows 10 (8u51 and later)
  • Windows 8.x (Desktop)
  • Windows 7 SP1
  • Windows Vista SP2
  • Windows Server 2008 R2 SP1 (a 64 bit)
  • Windows Server 2012 e 2012 R2 (a 64 bit)
  • RAM: MB 128
  • Disk space: 124 MB for JRE, 2 MB for Java Update
  • Processor: minimum Pentium 2 at 266 MHz
  • Browser: Internet Explorer 9 version and successive

MacOS

  • Intel-based Mac running macOS X 10.8.3 or later or macOS 10.9 or later
  • Browser: a 64 bit (es. Safari)

Linux

  • Oracle Linux 5.5+1
  • Oracle Linux 6.x (a 32 bit), 6.x (a 64 bit) 2
  • Oracle Linux 7.x (a 64 bit) 2 (8u20 e versioni successive)
  • Red Hat Enterprise Linux 5.5+1, 6.x (a 32 bit), 6.x (a 64 bit) 2
  • Red Hat Enterprise Linux 7.x (a 64 bit) 2 (8u20 e versioni successive)
  • Suse Linux Enterprise Server 10 SP2+, 11.x
  • Suse Linux Enterprise Server 12.x (a 64 bit)2 (8u31 e versioni successive)
  • Ubuntu Linux 12.04 LTS, 13.x
  • Ubuntu Linux 14.x (8u25 and later)
  • Ubuntu Linux 15.04 (8u45 and later)
  • Ubuntu Linux 15.10 (8u65 and later)
  • Browser: Firefox

How to Download Java on Windows PC

Now we come to the real heart of the matter and then let's find out how to download Java on PC Windows. Below you will find indicated how to proceed both for the download of Java Runtime Enviroment than for that of Java Development Kit.

Java Runtime Enviroment

To download Java Runtime Enviroment on Windows, the first fundamental step you need to take is to connect to the Java website. Then click on the button first I accept all cookieson that one Java Free Download and then on the button Accept and start free download.

When the download is complete open, by double clicking on it, the package .exe just downloaded and, in the window that opens on the desktop, first click on the button Yeson that one Install e, per conclusdere, pigia sul bottone OK.

At this point, the program will automatically download some components necessary for Java installation from the Internet. When the completion bar reaches the end, the software installation process will start automatically: wait patiently for a few seconds for it to be completed and click on the button Close to close the window.

At this point, you need to make sure that the Java installation was successful. As for the browser plugin, launch it on your computer Internet Explorer (the only browser for Windows compatible with Java), go to this web page and click on the button I accept all cookies. Then he presses on the buttons Agree and continue ed Run. If everything went well, you will see the message appear Congratulations accompanied by one green tick.

If you do not see any prompts to run Java and / or you see a message that the software is not installed on your computer, you must manually activate Java in your browser. However, keep in mind that Java has been the subject of many security holes and therefore it is advisable to keep it activated only when needed, then deactivate it again.

To enable Java on Internet Explorer, click on thegear located in the upper right part of the window and select the item Internet options from the menu that appears. In the window that opens, select the tab Safetyclick on your button Custom level e seleziona l'opzione Attiva in correspondence with the wording Scripting Java applets.

As for the tests related to the functioning of Java on your PC, try, very simply, to open a file in JAR (for more information, read my guide on how to open JAR files) or a file in JLNP (for more info, read my guide on how to open JNLP files).

Java Development Kit

Let's move on to now Java Development Kit. To download, connected to the relevant web page, click on the button I accept all cookies, select the voice Accept License Agreement placed at the bottom, in correspondence with the section JAVA SE Development Kit xx, and click on the link jdk-xx.x.x_windows-x64_bin.exe that you find next to the item Windows, in the list, in order to download the latest version of JDK for the systems Windows a 64 bit.

Se, invece, stai using Windows a 32 bit, you need to download the version 8 (older) by JDK. To do this, connected to this other Web page, presses the button I accept all cookies, select the voice Accept License Agreement located at the bottom, in correspondence with the section JAVA SE Development Kit xx, and click on the link next to the item Windows x86 in the list below.

In both cases, once the download is complete, open, by double clicking on it, the file .exe obtained and, in the window that opens, presses the buttons Yes, Next (twice in a row) e Close, to bring the setup to finish.

For more information on the use of the Java Development Kit, I refer you to reading my guide focused specifically on how to program in Java.

How to Download Java on Mac

I invented a Poppy, the steps to follow to be able to download Java on your Apple-branded computer are the ones you find below. Even in the case of MacOS, you can download either Java Runtime Enviroment than that of Java Development Kit.

Java Runtime Enviroment

On macOS, in order to download Java Runtime Enviroment, the first step you need to take is to go to the Java website and click on the button I accept all cookies. Then click on the button Java Free Download and on the one with it written Accept and start free download.

Once the download procedure is complete, open, by double clicking on it, the package .dmg ricavato e fai doppio clic sull 'java icon present in the window that opens. Then type the password of your user account on macOS, press the key Submit on the keyboard and, in the new window displayed, click in sequence on the buttons Install, OK e Close.

Now, to test the functioning of the Java plugin, start one of the compatible browsers on your computer (eg. Firefox), visit this web page and click on the button I accept all cookies. Then click on the buttons Agree and continue ed Run. If the plugin has been installed correctly, you will see the message appear Congratulations accompanied by one green tick.

If, on the other hand, no request appears regarding the execution of Java and / or you see a message that warns you that the software is not installed on your Mac, you must manually activate Java in the browser. Here's how to proceed with compatible browsers.

  • Firefox - click on the button with the three lines horizontally located at the top right of the browser window and choose the item Additional components from the menu that appears. In the new tab that opens, click on the item Plugin from the left sidebar and select from the menu that you find next to the wording Applet Java, the option Always active.
  • Safari - plugin support has been removed in macOS Mojave, so if you use a version equal to or later than 12 Safari, you will not be able to use the Java plugin in your browser. As for the previous browser versions, click on the menu Safari at the top left, select the item Pref Renze and click on the tab Safety. At this point, select the item Plugin consentclick your Manage website settings, then on the voice Java and select an option (Ask, Allow o Always allowed) from the drop-down list When visiting other websites. Then click on the button end.

Instead, to test the operation of Java on the Mac, try to open a file in JAR (for more information, read my guide dedicated to the topic that I pointed out to you in the step on Windows at the beginning of the tutorial) or a file in JLNP (for more information, you can refer to the guide dedicated to the topic that I always reported to you at the beginning of the tutorial, talking about the version of Java for Windows)

Java Development Kit

As for the download of Java Development Kit on macOS, having seen the relative web page, click on the button I accept all cookies, select the voice Accept License Agreement che trovi in ​​corrispondenza della sezione JAVA SE Development Kit xx and click on the link dk-xx.x.x_osx-x64_bin.dmg present in corrispondenza della voce MacOS, in the list below.

Once the download procedure is complete, open the package .dmg just obtained, double-click the fillet present inside and, in the window that appears on the desk, presses the buttons Continue e Install. Therefore enter the password of your user account on macOS, press the button Submit on the keyboard and click the button Close. Finally, decide whether or not to move the software installation package to the Trash by pressing the corresponding button displayed on the screen.

For further information on the use of JDK, I suggest you read my tutorial on how to program in Java that I pointed out to you in the step dedicated to downloading JDK on Windows operating systems.

How to Download Java on Ubuntu PC

To conclude, as they say, I want to explain to you how to download Java on a PC Ubuntu, one of the most famous and popular Linux distros on the market. In that case, everything is done from the command line, both as far as concerns are concerned Java Runtime Enviroment and Java Development Kit, without having to go through the Java website.

So, the first move you need to make is to open the terminal, calling it up by clicking on the button Show applicazioni (the one you can access by clicking ongrill icon placed in the lower left part of the Dock bar).

Once the Terminal window appears on the desktop, give the following commandsby pressing the button from time to time Submit sulla tastiera of the computer.

  • sudo apt update - used to update packages (you will be asked to type the administration password);
  • sudo apt install default-jre - is used to install Java Runtime Environment (you will be asked to confirm the command by pressing the key S);
  • sudo apt install default-jdk - is used to install JDK (you will be asked to confirm the command by pressing the key S).

If you think you need more details about the steps described above, you can refer to my guide on how to install Java on Ubuntu through which I have proceeded to talk to you about it in great detail.