From 2b52ab90c3ad53892e91edffe5b45dc3ebdf141e Mon Sep 17 00:00:00 2001 From: P0nk Date: Mon, 6 Sep 2021 21:42:58 +0200 Subject: [PATCH] Fix launch file --- README.md | 2 +- launch.bat | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bfd2b8a7c1..d581445d93 100644 --- a/README.md +++ b/README.md @@ -189,7 +189,7 @@ To launch the server, you may either: * If you already have Maven installed, simply run the command "mvn clean install" to create the jar file. * IntelliJ also comes with built-in Maven support. Open a new terminal window inside IntelliJ, type "mvn clean install" (your command should now be marked green), then Ctrl+Enter to build the jar file. 2. Launch the jar file - * Double click on "launch.bat" + * Double click on "launch.bat" (need to have Java 16 installed) #### Launch with Docker 1. Start Docker diff --git a/launch.bat b/launch.bat index 299162ddb8..903ce475cf 100644 --- a/launch.bat +++ b/launch.bat @@ -1,5 +1,4 @@ @echo off @title Cosmic -set PATH="C:\Program Files\Java\jdk1.8.0_241\bin";%PATH% -java -Xmx2048m -Dwzpath=wz\ -jar target\Cosmic.jar +java -Xmx2048m -jar target\Cosmic.jar pause \ No newline at end of file