# Installing on Windows - Quick Start

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

This document describes how to run Composable Agentic Platform using the `Tomorrow-Software-Server-2021-noJRE-10.0.0.zip` distribution. This example is using Windows Server 2022 Datacenter and OpenJDK 11.0.26 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, `JAVA_HOME` & `Path` have not been set, or will display the current Java installation details.

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

If you need to install java you can Download the Microsoft Build of OpenJDK here [https://learn.microsoft.com/en-us/java/openjdk/download](https://learn.microsoft.com/en-us/java/openjdk/download#openjdk-11) and extract the zip file to a temporary directory, for this example we've used `C:\Users\Administrator\Downloads\`

e.g. If you've downloaded the Microsoft Build of OpenJDK zip file and extracted to a local directory, to obtain and confirm Java version details, set the current `JAVA_HOME` & `Path` as follows.

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

Create and save a new file called `Tomorrow.bat` in the `Tomorrow-Software-Server-10.0.0` home directory with the following commands.

```powershell
cd server

SET JAVA_HOME=C:\Users\Administrator\Downloads\microsoft-jdk-11.0.26-windows-x64\jdk-11.0.26+4
SET PATH=%JAVA_HOME%\bin;%PATH%
%JAVA_HOME%\bin\java -Djava.net.preferIPv4Stack=true -Dderby.system.home="../HOME/Data" -Xms64m -Xmx2048m -XX:+CMSClassUnloadingEnabled -Dorg.eclipse.jetty.server.Request.maxFormKeys=20000 -jar ..\jetty9\start.jar
```

## Launch

Double click `Tomorrow.bat` to run directly from File Explorer.

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

<figure><img src="https://2423451286-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F42mDa58RoaDxb6t8mbaI%2Fuploads%2Fgit-blob-1b82803a7b09c587da612ad0eb8a3f80ab7c4780%2Fimage.png?alt=media" alt=""><figcaption><p>Tomorrow.bat saved to CAP home directory</p></figcaption></figure>

Alternatively, run the Powershell command

```powershell
PS C:\Tomorrow-Software-Server-10.0.0> .\Tomorrow.bat
```

{% hint style="info" %}
For more server installation information refer to [Installing as a Windows Service](https://docs.tomorrowx.com/cap/product-reference/installation-and-configuration/server-installation#installing-as-a-windows-service)
{% endhint %}
