Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Advanced search

1404749 Posts in 68421 Topics- by 62081 Members - Latest Member: NotoriousAnonymous

February 07, 2023, 10:35:50 AM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsDeveloperTechnical (Moderator: ThemsAllTook)class org.lwjgl.util.WaveData cant access access class com.sun.media.sound.*
Pages: [1]
Author Topic: class org.lwjgl.util.WaveData cant access access class com.sun.media.sound.*  (Read 878 times)
Digi-Space Productions
Level 0

Minecraft (alpha)

View Profile
« on: July 30, 2022, 09:47:09 AM »

So, when I try running my program with any mentions of org.lwjgl.util.WaveData, this happens.

Exception in thread "main" java.lang.IllegalAccessError: class org.lwjgl.util.WaveData (in unnamed module @0x51565ec2) cannot access class com.sun.media.sound.WaveFileReader (in module java.desktop) because module java.desktop does not export com.sun.media.sound to unnamed module @0x51565ec2
at org.lwjgl.util.WaveData.create(WaveData.java:100)
at org.lwjgl.util.WaveData.create(WaveData.java:115)
at dsp.javaQuest.game.Main.loadSound(Main.java:106)
at dsp.javaQuest.game.PlayerChar.<init>(PlayerChar.java:50)
at dsp.javaQuest.game.Game.setup(Game.java:41)
at dsp.javaQuest.game.Game.main(Game.java:58)
at dsp.javaQuest.game.Main.main(Main.java:59)
AL lib: (EE) alc_cleanup: 1 device not closed

Anyone have any idea how to resolve this?

Pages: [1]
Jump to:  

Theme orange-lt created by panic