ok... so i'm using Netbeans at the moment but i'm having the same problem doing this from the command line.
I'm starting java again and have forgotten allot. also allot has changed. anyways. i'm trying to use Jlayer to decode MP3s however i get the jlayer library, set up the classpath.
i start my code by importing the class
import javazoom.jl.decoder;
when i do this in Netbeans it gives me the context list. I type in javazoom. and it tells me that there is a JL package benith it. i type in jl and it tells me that there are decoder, player and converter libraries. once i finish the line it immeadiately underlines javazoom and tells me -
package javazoom.jl does not exist.
when i run from the command line i get
Compiling 2 source files to C:\Users\mjh09\Documents\NetBeansProjects\JMFTutorial\build\classes
C:\Users\mjh09\Documents\NetBeansProjects\JMFTutorial\src\aPlayer\SimpleAudioPlayer.java:13: package javazoom.jl does not exist
import javazoom.jl.decoder;
1 error
BUILD FAILED (total time: 1 second)
i have my class paths set up properly and i have libraries setup inside of netbeans. so why cant i use the library?