Changing the Java version on a Minecraft server is necessary to ensure compatibility with specific game updates, such as the requirement for Java 21 in modern versions. Upgrading to a more recent version can significantly improve server performance and stability by enabling better memory management and reducing background lag. Additionally, certain mod loaders and plugins are built for specific Java environments, making a version match essential to prevent startup crashes.
1. Log in to the BisectHosting Starbase panel.
2. Stop the server.
3. Select the Minecraft Tools tab and choose Modloader.
4. Take note of the Minecraft version of the modloader. Custom modloaders will depend on the manually installed Minecraft version.
5. Go to the Home tab.
6. From the Java Version dropdown, select the version that matches the modloader from step 4.
| Minecraft Version | Java Version |
|---|---|
| 1.16 and below | Java 8 |
| 1.17 to 1.20.4 | Java 17 |
| 1.20.5 to 1.21.11 | Java 21 |
| 26.1 and above | Java 25 |
Note: Java Adoptium is the default option, although some modpacks may perform better on other versions.
7. Start the server.
Java Development Kits
- Adoptium - Adoptium delivers a stable environment optimized for modern hardware. Always install Adoptium first before trying other JDKs, as it guarantees compatibility with both vanilla and heavily modded Minecraft servers out of the box.
Note: Only try the following alternatives when knowledgeable.
- GraalVM - GraalVM uses an advanced Just-In-Time (JIT) compiler that optimizes Java code to deliver faster chunk generation and higher Ticks Per Second (TPS). This architecture reduces garbage collection pauses and CPU overhead.
- Azul - Azul uses specialized technology to virtually eliminate lag spikes caused by background memory cleanups. Azul ensures the server maintains a consistently high framerate, especially for massive worlds with heavy automation.
- Corretto - Corretto provides an environment that offers some of the benefits of both Azul and GraalVM. It prioritizes stability and smooth performance under heavy system load.