In this article, I show you exactly how to download and install Java for Minecraft. Whether you are looking to start a Minecraft server, play Minecraft mods, or just play Minecraft in general, you will need to download Java, and this article shows you every step of getting Java setup and running for Minecraft. The reason you need Java for basically everything to do with Minecraft is actually pretty simple. Minecraft is coded 100% in Java. Thus, you need Java to do everything when it comes to Minecraft, so let's go ahead and get into download and install Java for Minecraft.

Click here to download Java for Minecraft!

How To Download & Install Java for Minecraft

Step 1) Download Java for Minecraft

Step one of getting Java is, well, downloading Java. This process is very simple and very easy. Just click on the big yellow button above, or this link to be taken off to the Java SE Development Kit download page! Once you are there, the process is very easy. Click on ‘Windows' and then, click on the download link next to x64 Installer. Your download will then begin. You may need to keep or save the file depending on your browser. It is 100% safe.

Step 2) Install Java for Minecraft Servers & Mods

Now that you have downloaded Java, you need to get Java installed. Luckily, installing Java is very simple and just like installing any other program. First things first, double click on the Java Development Kit (JDK) file you downloaded. This will open the ‘Java SED Development Kit – Setup' program. Once it has opened, click the ‘Next' button in the bottom right. Click next again, and the Java JDK will then beginning installing.

Step 3) Make Sure Java Is Working

Once you have Java downloaded, you need to make sure it is working. You can do this by either opening Minecraft, trying to open your sever.jar, run Forge, Optifine, or whatever Minecraft mod you are trying to install! If it works, you're all done. If not, you may need to run the Jarfix. Which you can download from this page. If you were still having issues, that should fix them on up! It will basically reconnect all of your .jar files to Java on your computer. Nevertheless, enjoy your newly downloaded Java!

If you have any questions or issues, please be sure to post in the comments below. We are more than happy to help you out, and assist you in the getting Java up and running properly!


  1. Here is our Stoneblock 2 tutorial!

    You will need Java 8 for Stoneblock 2 (and all other servers under 1.17).

  2. rangoons games

    i already have java i just dont know how to set it up, im on the mc launcher but i dunno what to do

    • You probably don’t have the correct version of Java. This video will help you get the correct version and get it up and running with Minecraft.

  3. Will downloading Java work to play mods on windows 10 version of MC?

  4. What I try to open my server .bat file it says

    ‘java’ is not recognized as an internal or external command,
    operable program or batch file.
    Press any key to continue . . .

    Help please 🙂

  5. So i downloaded the java thing and the java fix and they both wont run with the file it says “java hasn’t finished installing” when i saw it finish installing, it just won’t work, i’m super confused

    • Restart your computer and try again. You may still have to install Java as it sounds like there was an issue in the installation process.

  6. I have to make an account for Oracle to download the JDK?

  7. ok so do i have to have an account to download java?

  8. zachatak12

    when i try to download it, it brings up a login page

  9. It will not allow me to download the file without signing into Oracle.

  10. shrek ogre

    ok why do i need to give all this information i just want minecraft

  11. apparently you need a account to download now i don’t know why. wondering if anyone else has this problem? but great tutorial other wise

  12. When I click download, it brings me to a page which prompts me to log in to Oracle or create an account. Creating an account requires you to type in your job title + phone, address, etc. I cannot answer some of these questions and I don’t know how to download it without creating an account.

  13. when i try to download it after clicking the link it makes me log into oracle but I dont want to make an account. What do i do?

  14. I cannot install JDK because of error 1500: another installation is in progress. Please help!

  15. it asks me, “what application do you want to use to open this” and i really don’t know what to do from there as java doesnt show up :/

  16. Every time I try to run Optifine 1.12.2 it gives me the error “unable to install java: there are errors in the following switches: ” then the location of Optifine on my pc.

  17. It installed successfully but when I try to open minecraft on optifine 1.13.2 it crashes. It says the following:Process: java [715]
    Path: /Applications/
    Identifier: java
    Version: 1.0 (1.0)
    Code Type: X86-64 (Native)
    Parent Process: launcher [580]
    Responsible: launcher [580]
    User ID: 503

    Date/Time: 2019-02-18 00:40:29.680 -0600
    OS Version: Mac OS X 10.10.5 (14F2511)
    Report Version: 11
    Anonymous UUID: F728EB8A-546F-104F-8F48-23C04C84F735

    There is more writing but its too much to fit in.

  18. I can’t find the thing to open the .jar file

  19. Everything worked and completed downloading but when i try to launch minecraft it freezes on the main menu and then crashes, any ideas as to whats happening? ive tried using multiple versions of optifine with it and it just isnt working

  20. when I install Java it downloads in the bottom left of the chrome tab and when I double click to open it, it takes me to the download folder where it says jdk1.8.0_201. If I open that it has three folders called demo, sample and release. Plz help

    • you downloaded the wrong version of java, go back to the site and download your file from the tab marked “Java SE Development Kit 8u201” not “Java SE Development Kit 8u201 Demos and Samples Downloads” after that everything should be fine

  21. whenever i open up the server.jar file java runs but says failed to save server properties then closes Java any help

  22. It won’t work even with JarFix.
    It just says
    [Java Installation Not Completed]
    Unable to install Java
    Check that commands are valid and try again.

  23. Every time I open my server file with Java SE Binary it pops up the black box and goes away but none of the other files like eula appear

  24. When opening with Java at the 3:06 mark, I only have the option of running with internet explorer or “other Microsoft apps”. I can choose to use other apps on my computer so I click that and find Java but then that opens to two files of C:\Program Files\Java\jdk1.8.0_191 and C:\Program Files\Java\jre1.8.0_191 which lead to a multitude of more files. I don’t know what to go through pls help

  25. what file are you referring to when you say ” If you can now open that file, congrats! ”
    I’m following the how to make a 1.13.2 minecraft server and when i press run and the cmd pops up in says “C:\Users\Andrew\Desktop\1.13.2 server>java -Xmx2048M -Xms2048M -jar server.jar nogui
    Error: Unable to access jarfile server.jar
    I have tried the jarfix and still says the same thing but if i double click on the server file it opens and runs just fine can i use that without the using the cmd?

  26. every time i run the server this pops ups… at Source) [?:1.8.0_191]…. and I’ve downloaded the JDK and the jarfix

    • Make sure your .jar file is the same name as the .jar file mentioned in the run.bat file.

      They both need to have the same name for it to work.

  27. when i installed it it said it was installed but it was never in my downloads folder nor my desktop.

Leave a Comment

Your email address will not be published. Required fields are marked *