# How to install Java

## Video Guide / How-To Video

{% embed url="<https://youtu.be/G4-z2BGyYuk>" %}

## Download the Java Installer

Java Installer: <https://www.java.com/en/download/manual.jsp>\
Download the **Windows Offline 64-bit version**

## Run the Installer

Right click on the downloaded file and click **Run as administrator**.

![](/files/fu9mNWTqaAx1FzibA2S8)

## Install Java

Once open, click **Install**. The installer will run and install Java on your server.

![](/files/pOYosculExBAodPBBOy9) ![](/files/6eIGDPGOG0srPsXTEY8r)

## Verify Installation

Open command prompt and type "**java -version**", this will show you your version of Java installed.

![](/files/LRVUQ6X90QkKmY6GlGtj)


---

# 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://docs-servers.zesty.group/software/how-to-install-java-windows-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.
