Replies: 5 comments
-
Or better yet, is there a way to play with no sounds? |
Beta Was this translation helpful? Give feedback.
-
To my knowledge it has to do with how the OS is handling Java. This has occurred before, there was a user who I believe was testing each major distro. I don’t think that distro is supported, currently we are using the default Java audio libraries. |
Beta Was this translation helpful? Give feedback.
-
It simply fails without exception handling if it cannot initialize with the audio system. |
Beta Was this translation helpful? Give feedback.
-
Is there a way to compile the game without the audio class that could fix the error? |
Beta Was this translation helpful? Give feedback.
-
I managed to fix the error! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
This may sound like a bizarre way of trying to run the game but I attempted to run the game on a docker debian VM
and I keep getting the error:
LOGGER WARN: 'method' could not be found in system properties
[Game Handler] DEBUG: Determined gameDir: /root/.playminicraft/mods/Minicraft_Plus
[SaveLoad] WARN: No preferences found, creating new file.
[Controller] DEBUG: No Controllers Detected, moving on.
[Crash Handler] ERROR: java.lang.ExceptionInInitializerError
at minicraft.screen.ResourcePackDisplay.reloadResources(ResourcePackDisplay.java:737)
at minicraft.core.Game.main(Game.java:111)
Caused by: java.lang.IllegalArgumentException: No line matching interface SourceDataLine supporting format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, big-endian is supported.
at java.desktop/javax.sound.sampled.AudioSystem.getLine(AudioSystem.java:423)
at java.desktop/javax.sound.sampled.AudioSystem.getSourceDataLine(AudioSystem.java:532)
at minicraft.core.io.Sound.(Sound.java:43)
... 2 more
Whenever I try to run the .jar. For reference my java version is 23 and I was wondering if it is because of a incompatbility of java versions.
If anyone knows how to fix this issue please tell me I have spent awhile trying to bug fix this.
Beta Was this translation helpful? Give feedback.
All reactions