Javazoom Download

0 views
Skip to first unread message

Timothee Cazares

unread,
Aug 5, 2024, 5:53:06 AM8/5/24
to pigmiddpanbi
hialli use the javazoom.jl.player.Player package but it is says The import javazoom cannot be resolved. i am using eclipse and doing Android project. i clean the project still the same error is shown. please correct me.

If eclipse can't resolve a package fragment of an import statement, then it tells you (with that error), that there is no library on the classpath that contains a class from that package (or from a package whose name starts with the missing part).


I'm a beginner in Java and I'm trying to make a small rhythm game with the javazoom library. I downloaded JLayer1.0.1 and added jl1.0.1.jar to my project (in eclipse) under Modulepath (I tried putting it under classpath and neither worked).


--edit

Ok so I'm guessing that the javazoom library is outdated and is no longer supported properly in the latest Java JRE System library. What I tried was I went to configure build path -> Libraries -> Add Library -> JRE System Library -> Execution environment -> select JavaSE 1.7 -> Finish -> Apply and close, the error disappeared. However, I had to comment out module-info.java (I'm guessing that we don't need this in JavaSE 1.7?) The error's gone but I'm still curious. Anybody know a valid reasoning for this?

3a8082e126
Reply all
Reply to author
Forward
0 new messages