# Installing Java for Yuhalu

Yuhalu requires Java (JVM) to run. If Java is not installed, Yuhalu will not start.

## Step 1: Download Java from Oracle

Before downloading Java, check step 4 below first. If Java is already installed on your computer, you do not need to download and install again.

Visit the official Oracle Java download page:

https://www.oracle.com/java/technologies/downloads/

Download the Java SE JDK for Windows (64-bit).

Choose the Windows Installer (.exe).

## Step 2: Install Java

1. Double-click the downloaded .exe file.
2. Click Next and accept the default options.
3. Wait for installation to complete.

By default, Java installs to:

C:\Program Files\Java\

## Step 3: Set Java PATH in Windows

After installation, Java must be added to the Windows PATH; otherwise, it is not accessible.

⚠️ WARNING: Proceed with caution, modifying system environment variables can have unintended consequences if done incorrectly and may lead to system instability or prevent other applications from running properly.

- Backup: Before making any changes, it is strongly recommended to back up your current environment variables or create a system restore point. To backup while on command prompt, type set > C:\Path\To\Your\Env_backup.txt or any other file name.
- Accuracy: Ensure all paths are entered exactly as specified.
- Administrator Privileges: These changes often require administrator privileges to be applied system-wide.

Proceed only if you are confident in the steps provided and understand the potential risks.

1. Press Windows + R, type sysdm.cpl, and press Enter from the command prompt to show System Properties window.
2. Click the Advanced tab.
3. Click Environment Variables button to show its window.
4. Under System variables window section, select Path, then click Edit button below to show Edite environment variable.
5. Click New.
6. Add the Java bin folder path, for example:

C:\Program Files\Java\jdk-21\bin

Click OK on all dialogs to keep changes and to close each window.

## Step 4: Verify Java Installation

Open Command Prompt and type:

java -version

If Java is installed correctly, you will see version information; otherwise, a message such as Java is not recognized as an internal or external command, operable program or batch file.

## Start Yuhalu

To run Yuhalu for the first time and do this only once.
Once Java and Yuhalu are installed, use Windows explorer to navigate to folder Yuhalu, look for file YuhaluRan.bat and double-click it to start the Yuhalu, then follow instructions.

File name: InstallJava.html
Date: 12/25/2025