Installing on Windows - Quick Start

Introduction

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.

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 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.

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.

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.

You may require Administrator privileges if the applcation fails to launch.

Tomorrow.bat saved to CAP home directory

Alternatively, run the Powershell command

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

For more server installation information refer to Installing as a Windows Service

Last updated