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

Login with username, password and session length

 
Advanced search

1402163 Posts in 68045 Topics- by 61639 Members - Latest Member: pevogames

August 18, 2022, 06:26:51 PM

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]
Print
Author Topic: class org.lwjgl.util.WaveData cant access access class com.sun.media.sound.*  (Read 95 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.

Code:
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?
Logged

Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic