-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New translations windows.md (Spanish)
- Loading branch information
1 parent
4986eeb
commit e825a3f
Showing
1 changed file
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
--- | ||
title: Installing Java on Windows | ||
description: A step by step guide on how to install Java on Windows. | ||
authors: | ||
- IMB11 | ||
--- | ||
|
||
# Installing Java on Windows | ||
|
||
This guide will walk you through installing Java 17 on Windows. | ||
|
||
The Minecraft Launcher comes with its own Java installation, so this section is only relevant if you want to use the Fabric `.jar` based installer, or if you want to use the Minecraft Server `.jar`. | ||
|
||
## 1. Verify if Java is already installed. | ||
|
||
To check if Java is already installed, you must first open the command prompt. | ||
|
||
You can do this by pressing <kbd>Win</kbd> + <kbd>R</kbd> and typing `cmd.exe` into the box that appears. | ||
|
||
![Windows Run Dialog with "cmd.exe" in the run bar.](/assets/players/installing-java/windows-run-dialog.png) | ||
|
||
Once you have opened the command prompt, type `java -version` and press <kbd>Enter</kbd>. | ||
|
||
If the command runs successfully, you will see something like this. If the command failed, proceed to the next step. | ||
|
||
![Command prompt with "java -version" typed in.](/assets/players/installing-java/windows-java-version.png) | ||
|
||
:::warning | ||
To use the majority of modern Minecraft versions, you'll need at least Java 17 installed. If this command displays any version lower than 17, you'll need to update your existing java installation. | ||
::: | ||
|
||
## 2. Download the Java 17 installer. | ||
|
||
To install Java 17, you'll need to download the installer from [Adoptium](https://adoptium.net/en-GB/temurin/releases/?os=windows\&package=jdk\&version=17). | ||
|
||
You'll want to download the `Windows Installer (.msi)` version: | ||
|
||
![Adoptium download page with Windows Installer (.msi) highlighted.](/assets/players/installing-java/windows-download-java.png) | ||
|
||
You should choose `x86` if you have a 32-bit operating system, or `x64` if you have a 64-bit operating system. | ||
|
||
The majority of modern computers will have a 64-bit operating system. If you are unsure, try using the 64-bit download. | ||
|
||
## 3. Run the installer! | ||
|
||
Follow the steps in the installer to install Java 17. When you reach this page, you should set the following features to “Entire feature will be installed on local hard drive”: | ||
|
||
- `Set JAVA_HOME environment variable` - This will be added to your PATH. | ||
- `JavaSoft (Oracle) registry keys` | ||
|
||
![Java 17 installer with "Set JAVA\_HOME variable" and "JavaSoft (Oracle) registry keys" highlighted.](/assets/players/installing-java/windows-wizard-screenshot.png) | ||
|
||
Once you've done that, you can click `Next` and continue with the installation. | ||
|
||
## 4. Verify that Java 17 is installed. | ||
|
||
Once the installation is complete, you can verify that Java 17 is installed by opening the command prompt again and typing `java -version`. | ||
|
||
If the command runs successfully, you will see something like shown before, where the java version is displayed: | ||
|
||
![Command prompt with "java -version" typed in.](/assets/players/installing-java/windows-java-version.png) | ||
|
||
*** | ||
|
||
If you encounter any issues, feel free to ask for help in the [Fabric Discord](https://discord.gg/v6v4pMv) in the `#player-support` channel. |