-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Core Launcher works with Java 17. You have to download it and add it to the system path variable.
Notice: The launcher wrapper is in the development process, as soon as there will be no need for these processes.
You have many options.
- You can delete it.
- You can remove it from the system path variable.
- You can use a launch script. (see Creating a Launch Script)
- Go to Java 17 Download Page
- Download (JDK or JRE) and install it based on your OS.
- Check the path variable after installation. (It should be like
.../jre|jdk 17.../bin)
You can download the latest version of the launcher from its website.
Notice: In my opinion, you should create a new folder for the launcher, because it creates a config.json and all of your settings are stored in this file. You don't want to lose it :)
You have two options to run the launcher.
- Using a launch script. (see Creating a Launch Script)
- Clicking on the JAR twice. (Yup, like a normal app.)
java -jar CoreLauncher.jar
Create a file (Unix .sh, MacOS .command, Windows .bat) and paste this code into it.
You can replace java with a custom Java 17 path. (".../...jre|jdk 17.../bin/java.exe")
On Unix, you need to add
#!/bin/sh
cd "$(dirname "$(readlink -fn "$0")")"
MacOS, you need to add
#!/bin/bash
cd "$(dirname "$0")"
to the beginning of the script.
If you didn't change the launchers' JAR path, the launch script and launcher must be in the same directory.
--profile "profile name"
Starts the launcher directly with the selected profile without opening any GUI.
Starts the launcher in offline mode.
Page-by-page documentation is here.