# Installing on Windows - Quick Start

## Introduction <a href="#toc417629842" id="toc417629842"></a>

This document describes how to run the CAP Console on Windows using the `CAP-Console-12.0.zip` distribution. The example uses Windows Server 2022 Datacenter and OpenJDK 21 LTS.

The installation is designed for a local developer "quick start" environment.

## Check Java installation and version

Running the `java -version` command will either return `java : The term 'java' is not recognized` when no Java installation has been installed and `JAVA_HOME` / `Path` have not been set, or it will display the current Java installation details.

```powershell
PS C:\Users\Administrator> java -version
```

If you need to install Java, download the Microsoft Build of OpenJDK 21 from <https://learn.microsoft.com/en-us/java/openjdk/download> and extract the ZIP to a local directory — this example uses `C:\Users\Administrator\Downloads\`.

Set `JAVA_HOME` and `Path` for the current PowerShell session to confirm the Java version:

```powershell
PS C:\Users\Administrator> $env:JAVA_HOME = "C:\Users\Administrator\Downloads\microsoft-jdk-21.0.6-windows-x64\jdk-21.0.6+7"
PS C:\Users\Administrator> $env:Path += ";$env:JAVA_HOME\bin"
PS C:\Users\Administrator> java -version
openjdk version "21.0.6" 2025-01-21 LTS
OpenJDK Runtime Environment Microsoft-... (build 21.0.6+7-LTS)
OpenJDK 64-Bit Server VM Microsoft-... (build 21.0.6+7-LTS, mixed mode, sharing)
```

The shipped `Tomorrow.bat` in the distribution root looks for a bundled JRE under `.\jre\bin\java.exe` first and falls back to `java` on `PATH`. If you are using a system-installed JDK, ensure `JAVA_HOME` and `Path` are set as above (or set them permanently via *System Properties → Environment Variables*) before launching.

## Launch

Double-click `Tomorrow.bat` in the distribution root to run directly from File Explorer.

{% hint style="info" %}
You may require Administrator privileges if the application fails to launch.
{% endhint %}

Alternatively, run from PowerShell:

```powershell
PS C:\CAP-Console-12.0> .\Tomorrow.bat
```

{% hint style="info" %}
For production deployments, install the Console as a Windows service so it starts automatically on boot. See [Installing as a Windows Service](/cap/product-reference/installation-and-configuration/server-installation.md#installing-as-a-windows-service).
{% 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://docs.tomorrowx.com/cap/product-reference/installation-and-configuration/installing-on-windows-quick-start.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.
