start-server.bat
The single Windows entry point for installing, repairing, and launching Jarock.
Description
Run this file from the repository root after downloading Jarock. It calculates its own location instead of relying on a fixed folder, then invokes the PowerShell bootstrap and server runner with safe quoted paths.
On first launch it asks whether to use Fabric, NeoForge, or the currently unavailable Forge option. It can also open the parameter manager before installation. Fabric is installed first; NeoForge uses its official generated run.bat.
What it checks
| Check | Result |
|---|---|
| Repository location | Supports spaces, Unicode, exclamation marks, and ordinary deep paths. |
| Windows long paths | Reports the policy state and requests administrator approval only if required. |
| Java runtime | Selects a compatible 64-bit Java 25+ executable and reports the path. |
| Loader runtime | Verifies the selected Fabric or NeoForge files before starting. |
| Network safety | Does not open router ports, change firewall rules, or configure port forwarding. |
Usage
1. Download and extract the repository. 2. Double-click start-server.bat. 3. Select a loader and optional parameters. 4. Read server/eula.txt and set eula=true only if you accept the EULA. 5. Run start-server.bat again. 6. Type stop in the server console to shut down safely.
Error handling
When a prerequisite or runtime check fails, the launcher prints an ERROR: line and a Suggested fix:. Follow that suggestion, then run this file again. For a Java process crash, inspect server/logs/latest.log and server/crash-reports/.
License and disclaimer
This file is part of Jarock and is distributed under the MIT License. It does not download or install software until the user starts the setup and confirms the relevant choices. Minecraft and third-party loader/mod licenses remain separate.
Last reviewed as part of the repository website catalogue. See changelog for project changes.