Thorium Server


1. Java 17

Make sure Java 17 is installed. To check, use the following command.

java -version

2. sbt

Follow the official guide to install sbt.

Last modified on 08/12/2022, 4:35 pm

Using project template

To create an Thorium project from our official template, run the following command:

sbt new Greenfossil/thorium.g8

Sbt will load the template and create the project files in a subdirectory.

Last modified on 08/12/2022, 4:36 pm

Setting up preferred IDE

IntelliJ IDEA has good support for scala sbt projects. Download the IDE here.

Make sure that the SDK is set to Java 17 by navigating to File > Project Structure, and clicking on "Project" tab. The SDK version should appear like below.

To check JRE settings, navigate to File > Settings. The sbt settings should be similar to that in the screenshot below.

Last modified on 25/10/2022, 2:13 pm