# 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, please check Step 4 below first. If Java is already installed on your computer, you do not need to download and install it 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 the 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 will not be accessible from the command line.

⚠️ WARNING: Proceed with caution. Modifying system environment variables incorrectly may cause 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. You may back up environment variables by opening Command Prompt and typing:
  set > C:\Path\To\Your\Env_backup.txt
- Accuracy: Ensure all paths are entered exactly as specified.
- Administrator privileges: These changes may require administrator rights.

Proceed only if you understand the steps and potential risks.

1. Press Windows + R, type sysdm.cpl, then press Enter to open System Properties.
2. Click the Advanced tab.
3. Click the Environment Variables button.
4. Under System variables, select Path, then click Edit.
5. Click New.
6. Add the Java bin folder path, for example:

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

Click OK on all open windows to save the changes.

## Step 4: Verify Java Installation

Open Command Prompt and type:

java -version

If Java is installed correctly, version information will be displayed. Otherwise, you may see 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 (this is required only once):

After Java and Yuhalu are installed, open Windows Explorer and navigate to the Yuhalu folder. Locate the file YuhaluRan.bat and double-click it to start Yuhalu. Follow the on-screen instructions.

File name: InstallJava.html
Date: 12/25/2025
FINAL RECOMMENDATION (DO THIS) ✔ Publish Install_Yuhalu.cmd on website ✔ Tell users: “Download all ZIPs, then double-click Install_Yuhalu.cmd” ✔ Keep .ps1 as optional / internal ✔ Remove RAM shortcut UI ✔ Keep one authoritative launcher (YuhaluRun.bat)