How to solve this? Is this a bug in 20w21a?
baka4n opened this issue · 1 comments
How to solve this? Is this a bug in 20w21a?
`
---- Minecraft Crash Report ----
// There are four lights!
Time: 20-5-23 下午8:29
Description: Initializing game
java.lang.ExceptionInInitializerError
at net.minecraft.client.options.GameOptions.(GameOptions.java:142)
at net.minecraft.client.MinecraftClient.(MinecraftClient.java:407)
at net.minecraft.client.main.Main.main(Main.java:170)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:192)
at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:140)
at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:26)
at net.fabricmc.devlaunchinjector.Main.main(Main.java:86)
Caused by: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: Failed to locate library: lwjgl.dll
at net.minecraft.client.util.InputUtil.(InputUtil.java:43)
... 11 more
Caused by: java.lang.UnsatisfiedLinkError: Failed to locate library: lwjgl.dll
at org.lwjgl.system.Library.loadSystem(Library.java:147)
at org.lwjgl.system.Library.loadSystem(Library.java:67)
at org.lwjgl.system.Library.(Library.java:50)
at org.lwjgl.system.MemoryAccessJNI.(MemoryAccessJNI.java:13)
at org.lwjgl.system.Pointer.(Pointer.java:28)
at org.lwjgl.system.Platform.mapLibraryNameBundled(Platform.java:80)
at org.lwjgl.glfw.GLFW.(GLFW.java:674)
at sun.misc.Unsafe.ensureClassInitialized(Native Method)
at java.lang.invoke.DirectMethodHandle$EnsureInitialized.computeValue(DirectMethodHandle.java:330)
at java.lang.invoke.DirectMethodHandle$EnsureInitialized.computeValue(DirectMethodHandle.java:327)
at java.lang.ClassValue.getFromHashMap(ClassValue.java:227)
at java.lang.ClassValue.getFromBackup(ClassValue.java:209)
at java.lang.ClassValue.get(ClassValue.java:115)
at java.lang.invoke.DirectMethodHandle.checkInitialized(DirectMethodHandle.java:351)
at java.lang.invoke.DirectMethodHandle.ensureInitialized(DirectMethodHandle.java:341)
at java.lang.invoke.DirectMethodHandle.ensureInitialized(DirectMethodHandle.java:373)
at net.minecraft.client.util.InputUtil.(InputUtil.java:40)
... 11 more
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head --
Thread: Render thread
Stacktrace:
at net.minecraft.client.options.GameOptions.(GameOptions.java:142)
at net.minecraft.client.MinecraftClient.(MinecraftClient.java:407)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.main.Main.main(Main.java:170)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:192)
at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:140)
at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:26)
at net.fabricmc.devlaunchinjector.Main.main(Main.java:86)
-- System Details --
Details:
Minecraft Version: 20w21a
Minecraft Version ID: 20w21a
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_251, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 570720888 bytes (544 MB) / 891289600 bytes (850 MB) up to 3793747968 bytes (3618 MB)
CPUs: 12
JVM Flags: 0 total;
Launched Version: Fabric
Backend library: LWJGL version 3.2.2 build 10
Backend API: ERROR NoClassDefFoundError: Could not initialize class org.lwjgl.glfw.GLFW
GL Caps:
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fabric'
Type: Client (map_client.txt)
CPU:
`
my build.gradle dependencies
`
dependencies {
//to change the versions see the gradle.properties file
minecraft "com.mojang:minecraft:${project.mc_ver}"
mappings "net.fabricmc:yarn:${project.mc_ver}+build.${project.yarn_build}:v2"
modImplementation "net.fabricmc:fabric-loader:${project.loader_ver}+build.${project.loader_build}"
// Fabric API. This is technically optional, but you probably want it anyway.
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.api_ver}+build.${project.api_build}"
// Mod Compile Only, development used, client un load it.
compileOnly 'org.jetbrains:annotations:18.0.0'
// PSA: Some older mods, compiled on Loom 0.2.1, might have outdated Maven POMs.
// You may need to force-disable transitiveness on them.
}
my gradle.properties
fabric version
mc_ver= 20w21a
yarn_build=15
loader_ver=0.8.4
loader_build=198
api_ver=0.10.10
api_build=347-1.16
`