ok I just realized that you have to use either slick or lwjgl
What I did, I suppress LWJGL and keep slick
I created a Library native folder and put the .dll files in
Then I went to Java Build Path - Slick - Lwjgl.jar - Native Library Location - External Folder, I added the Native Library file that I created
I give you what the console tells me
an error at the sound level,
Thank you for your help to understand the console
Sun Aug 15 14:47:42 CEST 2021 INFO:Initialising sounds..
Sun Aug 15 14:47:42 CEST 2021 INFO:- Sound works
Sun Aug 15 14:47:42 CEST 2021 INFO:- 64 OpenAL source available
Sun Aug 15 14:47:42 CEST 2021 INFO:- Sounds source generated
Sun Aug 15 14:47:42 CEST 2021 ERROR:Failure reading in vorbis
Sun Aug 15 14:47:42 CEST 2021 ERROR:null
java.lang.IndexOutOfBoundsException
at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:336)
at org.newdawn.slick.openal.OggInputStream.getPageAndPacket(OggInputStream.java:154)
at org.newdawn.slick.openal.OggInputStream.readPCM(OggInputStream.java:294)
at org.newdawn.slick.openal.OggInputStream.read(OggInputStream.java:446)
at org.newdawn.slick.openal.OggDecoder.getData(OggDecoder.java:315)
at org.newdawn.slick.openal.SoundStore.getOgg(SoundStore.java:835)
at org.newdawn.slick.openal.SoundStore.getOgg(SoundStore.java:793)
at org.newdawn.slick.Sound.<init>(Sound.java:87)
at com.tutorial.main.AudioPlayer.load(AudioPlayer.java:20)
at com.tutorial.main.Game.<init>(Game.java:42)
at com.tutorial.main.Game.main(Game.java:183)
Sun Aug 15 14:47:42 CEST 2021 ERROR:/ by zero
java.lang.ArithmeticException: / by zero
at org.newdawn.slick.openal.AudioImpl.<init>(AudioImpl.java:38)
at org.newdawn.slick.openal.SoundStore.getOgg(SoundStore.java:854)
at org.newdawn.slick.openal.SoundStore.getOgg(SoundStore.java:793)
at org.newdawn.slick.Sound.<init>(Sound.java:87)
at com.tutorial.main.AudioPlayer.load(AudioPlayer.java:20)
at com.tutorial.main.Game.<init>(Game.java:42)
at com.tutorial.main.Game.main(Game.java:183)
org.newdawn.slick.SlickException: Failed to load sound: res/mouse_click.ogg
at org.newdawn.slick.Sound.<init>(Sound.java:99)
at com.tutorial.main.AudioPlayer.load(AudioPlayer.java:20)
at com.tutorial.main.Game.<init>(Game.java:42)
at com.tutorial.main.Game.main(Game.java:183)
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "org.newdawn.slick.Music.loop()" because the return value of "com.tutorial.main.AudioPlayer.getMusic(
String)" is null
at com.tutorial.main.Game.<init>(Game.java:43)
at com.tutorial.main.Game.main(Game.java:183)
AL lib: (EE) alc_cleanup: 1 device not closed