

On the COPR package all required java versions should be installed, but this is the command to install it: sudo dnf install java-1.8.0-openjdk java-17-openjdk Void Linux # sudo xbps-install openjdk17-jre openjdk8-jre Arch Linux # sudo pacman -S jre17-openjdk jre8-openjdk Ubuntu # sudo apt install openjdk-17-jre openjdk-8-jre Debian # sudo apt install openjdk-17-jre On Linux, it's recommended to use your package manager for installing Java. Also to download Oracle Java 9+ you need an Oracle account which is not a good thing. You can also use Oracle Java, but openjdk is better here. Azul Zulu is a popular alternative to Temurin, and will work just as well. NOTE: You can use any OpenJDK build you want. If you aren't sure which version you will need, it is recommended to just install both. Minecraft 1.17 and upwards will require Temurin 17 (LTS), while anything below will require Temurin 8 (LTS). As such, until Java downloading is implemented, you will need to manually install Java to run Minecraft with PolyMC.Ĭurrently, we recommend heading over to Adoptium to install the latest versions of Java.

Makes sense, Java 1.8 and MC 1.8 were both released from beta in 2014.Java is required in order to run Minecraft. Guess they didn't know G1GC has way more config options than other GC models. Thank you!Īlso, I notice that 1.8 Optifine thread mentions using a "controllable GC." I didn't test it for more than 5 minutes but I assume longer gaming sessions would encounter either full GCs or excessive GC sweeps.Įdit: I've updated my OP to reflect the information you've provided. That matters because as you say, MC discards a lot of memory, which means you're going to have allocation problems after the game has run for a while. If you notice Microsoft used a target that's half of mine. The only flag making a positive difference is G1NewSizePercent. Ofc the 20fps target will prevent that mistake from being too obvious - but eventually it'll dig into the reserve percent with every sweep. I mean, it does take that flag into consideration, but if you dump enough garbage it'll go right over the limit.

Setting a fixed heap size is also pointless because they left AdaptiveSizePolicy enabled (it's enabled by default). 50ms means it'll try to make the GC pause for that duration maximum - it can then do another GC 1ms later. 50ms is 20fps and it's a soft target, right? No. That was worse than ConcMarkSweepGC which would peg the renderer once every 20-40 seconds.

Average FPS was similar but 1% lows were happening every 1-2 seconds. I ran a 3x memory boost version on my test world (2g was not enough for my mods). Microsoft's launcher plain does not work on my computer due to my VPN configuration. Oh! I had no idea Microsoft updated the arguments.
