Installing Java

The Java Runtime Environment (JRE) is software that allows for programs written in the Java programming language, for example the desktop editions of Minecraft, to run on your computer.

Verifying if Java is installed

Starting from early 2015, the Minecraft launcher for Windows now ships with a built in version of Java that the launcher automatically keeps up-to-date.

If you are using the new Minecraft launcher for Windows, you do not have to install Java on your computer unless you need it for applications other than Minecraft. If you are on Windows and are not sure if you are using the new Minecraft launcher or are getting "This application requires a Java Runtime Environment" when launching Minecraft, then you can download Minecraft.msi from https://minecraft.net/download under "Minecraft for Windows".

If the above does not apply to you, then you can check if Java is installed on your computer with the following instructions:

Windows
  • Hold your Windows key (located at the bottom left of your keyboard to the right of the Control key) and press "R".
  • You should get a "Run" window open up, type in "cmd" and press "OK."
  • A "Command Prompt" window should open, type in the command: java -version
  • Hit enter and the output should contain java version "[java version here]" if Java is installed. If you instead got 'java' is not recognized then Java is not installed properly; see the Windows section below for how to install Java.
Mac OSX
  • In spotlight, search "Terminal" and open the application.
  • Enter in Terminal: java -version
  • If the output does not contain java version "[java version here]" then Java is not installed on your computer; see the Mac OSX section below for instructions on how to install Java.
Linux
  • Open Terminal (Ctrl + Alt + T on Ubuntu)
  • Enter in Terminal: java -version
  • If the output does not contain java version "[java version here]" then Java is not installed, you should refer to your distro's manual for instructions on installing Oracle Java.

Installing Java for Windows

For Windows 7, Windows 8/8.1, Windows 10

To install the proper version of Java for your computer, you first need to find wether you are using a 32-bit or 64-bit Windows operating system.

  • Hold your Windows key (located at the bottom left of your keyboard to the right of the Control key) and press "R".
  • You should get a "Run" window open up, type in "cmd" and press "OK."
  • A "Command Prompt" window should open, type in the command: wmic OS get OSArchitecture
  • Press enter, and afterwards the second line of the output will tell you if you are using 32-bit or 64-bit.

If you are using 64-bit

    Go to the Oracle Java Download page and press the button next to "Accept License Agreement" under the "Java SE Runtime Environment" header. It should then give you a "Thank you" message, once it does look for "jre-8uABC-windows-x64.exe" (where ABC is a two or three digit version code) under the "Download" table - download and install the file.

If you are using 32-bit

    Go to the Oracle Java Download page and press the button next to "Accept License Agreement" under the "Java SE Runtime Environment" header. It should then give you a "Thank you" message, once it does look for "jre-8uABC-windows-i586.exe" (where ABC is a two or three digit version code) under the "Download" table - download and install the file.

Once you have downloaded and installed Java, you should be all set. It is recommended to run a check to see that Java is properly installed, you can do that by going to Command Prompt again and using the command java -version — if you get an error, redo the steps or contact our technical support resources. Otherwise, Java should be successfully installed on your computer.

Installing Java for Mac

For OS X 10.9 or above

Go to the Oracle Java Download page and press the button next to "Accept License Agreement" under the "Java SE Runtime Environment" header. It should then give you a "Thank you" message, once it does look for "jre-8uABC-macosx-x64.dmg" (where ABC is a two or three digit version number) under the "Download" table - download and install the file.


Page Info (Update This!)
  • Last updated
  • Fri, 21 July 2017
  • JIRA Issue
  • Page type
  • Guide
  • Related to
  • Java Runtime Enviornment