no zstd-jni-1.5.2-2 in java.library.path error
Polarite opened this issue · 11 comments
[2022-05-06 20:52:39.968] [JavaFX Application Thread] [OTHER] [FATAL] java.lang.UnsatisfiedLinkError: no zstd-jni-1.5.2-2 in java.library.path: C:\Program Files\Eclipse Adoptium\jdk-18.0.1.10-hotspot\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Eclipse Adoptium\jdk-18.0.1.10-hotspot\bin;C:\Program Files\Eclipse Adoptium\jdk-8.0.312.7-hotspot\bin;C:\Program Files\Eclipse Adoptium\jdk-17.0.3.7-hotspot\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Users\Crawen\AppData\Local\Microsoft\WindowsApps;;.
[2022-05-06 20:52:39.968] [JavaFX Application Thread] [OTHER] [FATAL] Unsupported OS/arch, cannot find /win/amd64/libzstd-jni-1.5.2-2.dll or load zstd-jni-1.5.2-2 from system libraries. Please try building from source the jar or providing libzstd-jni-1.5.2-2 in your system.
[2022-05-06 20:52:39.968] [JavaFX Application Thread] [OTHER] [FATAL] at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2434)
[2022-05-06 20:52:39.968] [JavaFX Application Thread] [OTHER] [FATAL] at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:848)
[2022-05-06 20:52:39.968] [JavaFX Application Thread] [OTHER] [FATAL] at java.base/java.lang.System.loadLibrary(System.java:2015)
[2022-05-06 20:52:39.968] [JavaFX Application Thread] [OTHER] [FATAL] at com.github.luben.zstd.util.Native.load(Native.java:87)
[2022-05-06 20:52:39.968] [JavaFX Application Thread] [OTHER] [FATAL] at com.github.luben.zstd.util.Native.load(Native.java:55)
[2022-05-06 20:52:39.968] [JavaFX Application Thread] [OTHER] [FATAL] at com.github.luben.zstd.ZstdOutputStreamNoFinalizer.<clinit>(ZstdOutputStreamNoFinalizer.java:18)
[2022-05-06 20:52:39.968] [JavaFX Application Thread] [OTHER] [FATAL] at com.github.luben.zstd.ZstdOutputStream.<init>(ZstdOutputStream.java:75)
[2022-05-06 20:52:39.968] [JavaFX Application Thread] [OTHER] [FATAL] at com.github.luben.zstd.ZstdOutputStream.<init>(ZstdOutputStream.java:46)
[2022-05-06 20:52:39.968] [JavaFX Application Thread] [OTHER] [FATAL] at de.bixilon.minosoft.assets.util.FileAssetsUtil.saveAndGet(FileAssetsUtil.kt:69)
[2022-05-06 20:52:39.968] [JavaFX Application Thread] [OTHER] [FATAL] at de.bixilon.minosoft.assets.util.FileAssetsUtil.saveAndGet$default(FileAssetsUtil.kt:50)
[2022-05-06 20:52:39.968] [JavaFX Application Thread] [OTHER] [FATAL] at de.bixilon.minosoft.data.player.properties.textures.PlayerTexture.read(PlayerTexture.kt:57)
[2022-05-06 20:52:39.968] [JavaFX Application Thread] [OTHER] [FATAL] at de.bixilon.minosoft.gui.eros.util.JavaFXAccountUtil.getAvatar(JavaFXAccountUtil.kt:25)
[2022-05-06 20:52:39.968] [JavaFX Application Thread] [OTHER] [FATAL] at de.bixilon.minosoft.gui.eros.main.MainErosController$init$7.invoke(MainErosController.kt:136)
[2022-05-06 20:52:39.968] [JavaFX Application Thread] [OTHER] [FATAL] at de.bixilon.minosoft.gui.eros.main.MainErosController$init$7.invoke(MainErosController.kt:125)
[2022-05-06 20:52:39.969] [JavaFX Application Thread] [OTHER] [FATAL] at de.bixilon.minosoft.config.profile.delegate.watcher.SimpleProfileDelegateWatcher$Companion$profileWatchFX$1.invoke$lambda-0(SimpleProfileDelegateWatcher.kt:55)
[2022-05-06 20:52:39.969] [JavaFX Application Thread] [OTHER] [FATAL] at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:457)
[2022-05-06 20:52:39.969] [JavaFX Application Thread] [OTHER] [FATAL] at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
[2022-05-06 20:52:39.969] [JavaFX Application Thread] [OTHER] [FATAL] at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:456)
[2022-05-06 20:52:39.969] [JavaFX Application Thread] [OTHER] [FATAL] at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
[2022-05-06 20:52:39.969] [JavaFX Application Thread] [OTHER] [FATAL] at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
[2022-05-06 20:52:39.969] [JavaFX Application Thread] [OTHER] [FATAL] at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:184)
[2022-05-06 20:52:39.969] [JavaFX Application Thread] [OTHER] [FATAL] at java.base/java.lang.Thread.run(Thread.java:833)
try java 17
https://aws.amazon.com/corretto/
Interesting. Java 17 will (probably) not bring anything.
the natives for zstd are missing on windows. Somehow related to #2
I'll grab a windows pc tomorrow and test it myself
java 17 doesnt work and requires me to use java 18 to run it
Interesting. Java 17 will (probably) not bring anything.
the natives for zstd are missing on windows. Somehow related to #2
I'll grab a windows pc tomorrow and test it myself
would be amazing, thanks
I feel 100% screwed
Why is it forcing you to use java 18? I am using (and building) it with java 11. That should work.
Why is it forcing you to use java 18? I am using (and building) it with java 11. That should work.
It says my build version is older than what its compiled with, its compiled with 55 and I have 52 for some reason
52 is java 8. That is not supported. 55 is Java 11.
You probably have more than 1 jdk installed.
ah that explains it, I had both java 8 and 17, I thought I made java 17 default