Jump to content

Error when setting up a server


Lord Zwieback

Recommended Posts

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

Link to comment
Share on other sites

  • 3 months later...

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 by Gify25
Link to comment
Share on other sites

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

 

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.

Link to comment
Share on other sites

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

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.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.