Lord Zwieback Posted December 19, 2022 Posted December 19, 2022 I'm trying to set up a minecraft forge server, but when I try to open the run.bat file to create all the different files the window does appear but only this is displayed: Error occurred during initialization of boot layer java.lang.module.FindException: Error reading module: libraries\cpw\mods\bootstraplauncher\1.1.2\bootstraplauncher-1.1.2.jar Caused by: java.lang.module.InvalidModuleDescriptorException: Unsupported major.minor version 60.0 I'm not really into this kind of stuff so please someone help me Quote
ChampionAsh5357 Posted December 22, 2022 Posted December 22, 2022 Depending on the minecraft version you are attempting to run: - 1.18 and later need Java 17 - 1.17 needs Java 16 - 1.16.5 and older need Java 8 Quote
Gify25 Posted April 17, 2023 Posted April 17, 2023 (edited) Resolving the same problem, but I am sure that on the hosting system Java 17 is installed, by running ./java -version Quote openjdk version "17.0.6" 2023-01-17 LTS OpenJDK Runtime Environment Zulu17.40+19-CA (build 17.0.6+10-LTS) OpenJDK 64-Bit Server VM Zulu17.40+19-CA (build 17.0.6+10-LTS, mixed mode, sharing) is this build somehow outdated or incompatible with 1.19.2 Forge 43.1.52, or 43.2.3, neither of them won't runs, both with error: Quote Error occurred during initialization of boot layer java.lang.module.FindException: Error reading module: libraries/cpw/mods/bootstraplauncher/1.1.2/bootstraplauncher-1.1.2.jar Caused by: java.lang.module.InvalidModuleDescriptorException: Unsupported major.minor version 60.0 Thanks for any ideas. Edited April 17, 2023 by Gify25 Quote
warjort Posted April 17, 2023 Posted April 17, 2023 First, don't post on other people's threads unless you are helping the original poster. Start your own thread. As often as you not, you might have the same error message but for a different reason. The error message says you have code compiled for java 16 (major=60), but the version of java you are actually using doesn't support it. https://stackoverflow.com/questions/9170832/list-of-java-class-file-format-major-version-numbers i.e. you are using a java implementation earlier than java 16. So whatever java you are starting forge with, it is not that java 17. ./java means use the java executable in the current folder the run.sh by default use the java specified on the PATH environment variable a quick way to find out what that is by typing which java Quote Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
warjort Posted April 17, 2023 Posted April 17, 2023 And an easy way to fix it, is to change the run.sh Replace where it says java with the full path to that java 17 executable Quote Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
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.