mxrshyx Posted May 18 Posted May 18 Trying to start a server. When running run.bat the following pops up " Exception in thread "main" java.lang.IllegalStateException: Current Java is 8 but we require at least 21 at net.minecraftforge.bootstrap.shim.Main.main(Main.java:32) If you're struggling to fix the error above, ask for help on the forums or Discord mentioned in the readme. Press any key to continue . . . " Any help? Quote
Colenin Posted May 18 Posted May 18 (edited) Cant help you but i have exactly that error rn. I tried to make a forge server for 1.21.1 and in the run.bat i get that error. Edit: Actually I CAN help you because i just found the solution myself. Here just install a newer version of java: https://www.oracle.com/de/java/technologies/downloads/#jdk24-windows No need to uninstall anything. I just took the #64 Installer and run it, it installed and now i have no problems anymore. I hope it works for u too man. Edited May 18 by Colenin Quote
TileEntity Posted May 19 Posted May 19 Minecraft 1.21 requires Java 21 - not Java 24 Quote Try my Modpack >>Link to Curseforge<<
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.