Skip to main content
Aikar’s flags are a set of Java startup options, recommended by PaperMC, that tune garbage collection (G1GC) so Minecraft servers have shorter lag spikes. On a FREAKHOSTING Minecraft server they are already in the Startup Command, together with your plan’s memory (-Xmx), so you don’t need to add them. What you can change is the Java version, under Docker Image on the Startup page.

What does the Startup page show?

Startup page in the FREAKHOSTING Game Panel with a read-only Startup Command using Aikar's flags, a Docker Image drop-down with Java versions and variables for Minecraft Version, Server Jar File and Build Number

The Startup page of a Minecraft server


What do Aikar’s flags do?

The full set, as published by PaperMC, looks like this (memory values are examples):
PaperMC also advises leaving about 1,000–1,500 MB of memory for Java’s own overhead. That’s why the memory graph can sit near the limit on a healthy server.

Which Java version does my Minecraft version need?

Version Changer sets the right Java version for you when you install a version (for example Java 25 for 26.x). If you change version another way, check this table:

How to change the Java version

1

Open Startup

Click Startup in the sidebar.
2

Pick the Docker image

Under Docker Image, choose the Java version from the table above.
3

Restart

Restart the server so it starts on the new Java version.
If the console shows UnsupportedClassVersionError, the Java version is too old. See UnsupportedClassVersionError.

Why is the startup command read-only?

The startup command contains your plan’s memory and flags that suit our hardware. Keeping it read-only stops a typo from making the server fail to start, and stops -Xmx being set above your plan. Everything you normally need is still in your hands: the Java version (Docker Image), the server type and version (Version Changer) and your server’s settings. If you need a special Java option for a plugin or mod, open a ticket and tell us which option and why.

Frequently asked questions

Can I change -Xmx on my server?

No. The memory in the startup command comes from your plan and is read-only. To get more memory, upgrade your plan in the client area.

Do I need to add Aikar’s flags myself?

No. They are already in the Startup Command of every FREAKHOSTING Minecraft server.

Do Aikar’s flags work on Fabric and NeoForge?

Yes. They are Java settings, so they help any Minecraft server, not only Paper.

Should I use a newer Java than my version needs?

Usually the version in the table is best. Newer Minecraft versions need newer Java, and some very old modpacks only start on Java 8.

Why does the Startup page show an old Minecraft Version?

The Minecraft Version variable is only used for a fresh install. Version Changer shows what is installed now, in its status line.

Minecraft server guide

Every Minecraft guide in one place.

UnsupportedClassVersionError

Fix the wrong Java version.

RAM for modded servers

How much memory you need.

Startup variables

How the Startup page works.

bukkit.yml settings

Tune spawning for less lag.
Reviewed by the FREAKHOSTING team on 29 October 2026. Game Panel steps were checked on our panel (Minecraft 26.1, Paper and Fabric). Flags checked against the PaperMC Aikar’s flags guide; game and plugin details follow their official documentation. Steps may differ slightly if the game change.

Need Extra Help?

If you encounter any issues, our support team is ready to assist:

Save on Your Hosting

Ready to upgrade your hosting? Use code KB20 at checkout for 20% off your first order!

Last Updated: October 2026