# Start / Stop Squirrel

## Start Application

In HCL Domino 14.0/14.5/14.5.1, the Domino JVM writes out the following warning message for any Java tasks (RunJava, HTTP, etc). As written out in the release notes of HCL Domino, this warning may be ignored.

```
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by lotus.notes.AgentSecurityManager (file:/D:/D-Programme/HCL/Domino/ndext/Notes.jar)
WARNING: Please consider reporting this to the maintainers of lotus.notes.AgentSecurityManager
WARNING: System::setSecurityManager will be removed in a future release
```

### Option 1: Program Document

The easiest and recommended way is to add a program document in the HCL Domino directory.

![Program document to start Squirrel at server startup](https://288783782-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MPxpxosKU2KFGoIAhBj%2F-MRFCPXuqbhd_Dr7smqj%2F-MRFDCjBVRcqY19V6YpX%2Fimage.png?alt=media\&token=074c980e-7ec4-46f4-8ef0-4d6397a2a612)

To reduce memory usage in the Domino JVM, the “SingleRun” parameter can be specified to stop Squirrel after all subscription documents have been processed. The “Repeat interval of” parameter in the program document schedules Squirrel to run at the specified intervals.

<figure><img src="https://288783782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPxpxosKU2KFGoIAhBj%2Fuploads%2FHJ2vl48hiiI9G9Z9uy41%2FProgram-Document-2.png?alt=media&#x26;token=0d347bf2-a1f7-4c7c-b799-9a61417e8131" alt=""><figcaption><p>Program document to start Squirrel at specific intervals</p></figcaption></figure>

### Option 2: Console Command

Enter the command *Load RunJava JAddin Squirrel* in the HCL Domino console:

```
> Load RunJava JAddin Squirrel
03.04.2026 17:07:50   JVM: Java Virtual Machine initialized.
03.04.2026 17:07:50   RunJava: Started JAddin Java task.
03.04.2026 17:07:50   Squirrel: The Internet Mail Collector for HCL Domino - Version 2026.04.02
03.04.2026 17:07:50   Squirrel: Copyright iota systems GmbH / andy.brunner@k43.ch - All Rights Reserved
03.04.2026 17:07:50   Squirrel: Java VM heap size configuration: Maxiumum: 256 MiB / Used: 22 MiB / Free: 233 MiB
03.04.2026 17:07:50   Squirrel: License key valid for 10 mail account subscriptions until 2026-12-31
03.04.2026 17:07:50   Squirrel: IMAPS message forwarded to Joe Smith/ACME from jsmith@hotmail.com (Size 689 KB)
03.04.2026 17:07:50   Squirrel: POP3S message forwarded to Lee Chu/ACME from lchx815@gmx.net (Size 286 KB)
```

### Option 3: Notes.ini

You may change the line starting with *ServerTasks=* to include the task to be started, e.g.

```
ServerTasks=Replica,Router,Update,RunJava JAddin Squirrel,AMgr,...
```

{% hint style="danger" %}
Please note that the Java class names *JAddin* and *Squirrel* are both case-sensitive and must be coded with exact case during startup.
{% endhint %}

## Stop Application

To terminate Squirrel, enter *Tell Squirrel Quit* on the HCL Domino console.

```
> Tell Squirrel Quit
03.04.2026 17:08:49   Squirrel: Termination in progress
03.04.2026 17:08:52   Squirrel: Terminated
03.04.2026 17:08:52   RunJava: Finalized JAddin Java task.
03.04.2026 17:08:53   RunJava shutdown.
```
