# How to Change the Java Version for Your Server

## 🔀 How to Change Your Java Version for Your Server 🔀

1. Go to [Other.leavepanel.com](https://other.leavepanel.com/)
2. Choose the server where you want to update the Java version.
3. Click on "Startup," then access the docker image field.
4. We offer all major versions of Java. Note that we will add more Java versions as required for future Minecraft releases.
5. Select the desired version, and it will be applied the next time your server starts up.

<figure><img src="/files/E8myoPQ7YoBF7SZSNCbg" alt=""><figcaption><p>Docker Image</p></figcaption></figure>

Everything is ready! Your Java version has been updated.

Here's a quick guide to which versions of Minecraft use which versions of Java:

{% hint style="success" %}
Java 8: versions 1.12.2 and later&#x20;

Java 11: versions 1.13 - 1.16&#x20;

Java 16: versions 1.17 and higher&#x20;

Java 17: versions 1.18 and higher&#x20;

Java 18: versions 1.19 and higher&#x20;

Java 21: versions 1.20.5 and higher
{% endhint %}

{% hint style="info" %}
We also provide custom docker images for interested users! Reach out via live chat and discord ticket, and we'll assist you in setting it up.
{% endhint %}

{% hint style="warning" %}
If the "Docker Image" section states `This server's Docker image has been manually set by an administrator and cannot be changed through this UI.`, please open a support ticket, and we'll resolve it for you.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.leavehosting.com/other-panel/how-to-change-the-java-version-for-your-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
