Jump to content

server cannot start


gluester

Recommended Posts

hey!

I'm trying to start a server, but it's not starting.

OS: Nobara Linux 36 (Fedora with light changes)

Java version: OpenJDK 17.0.5

The error itself:

[ethan@fedora mcserver]$ java -jar minecraft_server.1.12.2.jar -Xms4g -Xmx5g
Exception in thread "main" [15:15:26] [main/INFO]: [STDERR]: java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-17-openjdk-17.0.5.0.8-2.fc36.x86_64/lib/libawt_xawt.so
[15:15:26] [main/INFO]: [STDERR]:       at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2393)
[15:15:26] [main/INFO]: [STDERR]:       at java.base/java.lang.Runtime.load0(Runtime.java:755)
[15:15:26] [main/INFO]: [STDERR]:       at java.base/java.lang.System.load(System.java:1953)
[15:15:26] [main/INFO]: [STDERR]:       at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
[15:15:26] [main/INFO]: [STDERR]:       at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388)
[15:15:26] [main/INFO]: [STDERR]:       at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232)
[15:15:26] [main/INFO]: [STDERR]:       at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174)
[15:15:26] [main/INFO]: [STDERR]:       at java.base/jdk.internal.loader.NativeLibraries.findFromPaths(NativeLibraries.java:315)
[15:15:26] [main/INFO]: [STDERR]:       at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:285)
[15:15:26] [main/INFO]: [STDERR]:       at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2398)
[15:15:26] [main/INFO]: [STDERR]:       at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:818)
[15:15:26] [main/INFO]: [STDERR]:       at java.base/java.lang.System.loadLibrary(System.java:1989)
[15:15:26] [main/INFO]: [STDERR]:       at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:1392)
[15:15:26] [main/INFO]: [STDERR]:       at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:1390)
[15:15:26] [main/INFO]: [STDERR]:       at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
[15:15:26] [main/INFO]: [STDERR]:       at java.desktop/java.awt.Toolkit.loadLibraries(Toolkit.java:1389)
[15:15:26] [main/INFO]: [STDERR]:       at java.desktop/java.awt.Toolkit.initStatic(Toolkit.java:1427)
[15:15:26] [main/INFO]: [STDERR]:       at java.desktop/java.awt.Toolkit.<clinit>(Toolkit.java:1401)
[15:15:26] [main/INFO]: [STDERR]:       at java.desktop/java.awt.Component.<clinit>(Component.java:624)
[15:15:26] [main/INFO]: [STDERR]:       at nz.aR(SourceFile:450)
[15:15:26] [main/INFO]: [STDERR]:       at net.minecraft.server.MinecraftServer.main(SourceFile:738)

Thanks in advance

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.



×
×
  • Create New...

Important Information

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