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 | Description |
|---|---|---|
| 26.1 and newer | Java 25+ |
Requires Java 25 or newer. Will not launch on Java 21 or earlier. |
| 1.20.5 - 1.21.x | Java 21 - 25 |
Vanilla works on Java 21 through 25. NeoForge & Fabric modpacks require Java 21. |
| 1.18 - 1.20.4 | Java 17 - 21 |
Vanilla & Paper work on Java 17 through 21. Forge modpacks require Java 17. |
| 1.17 - 1.17.1 | Java 16 - 17 | Runs on Java 16 or Java 17. |
| 1.12 - 1.16.5 | Java 8 - 11 |
Vanilla & Paper work on Java 8 through 11. Legacy Forge modpacks require Java 8. |
| 1.7.10 - 1.11.2 | Java 8 | Requires Java 8. |
| Classic - 1.6.4 | Java 6 - 8 |
Originally written for Java 6/7. Runs on Java 8. |
Note: Java Adoptium is the recommended default, 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, delivering 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.