0

I've got a problem using external libraries for java in netbeans. To use some specific classes I've downloaded the JLayer1.0.1 zip-file from http://www.javazoom.net/javalayer/sources.html. Afterwards I've added this as new library in the library manager and then added this new lib to my project libs via the project properties.

Then when I try to use a class of this lib the first problem that occurs is that it's not possible to fix imports using ctrl-shift-i. So I've tried to import the class manually using

import javazoom.jl.player.Player;

and it doesn't work either.

Does anyone know what I've done incorrectly? Thanks for your help.

2
  • 1
    Did you try to just Right click LIBRARY -> Add JAR/FOLDER Commented Nov 22, 2013 at 13:12
  • Is your problem is solved??? then you can select my answer Commented Dec 20, 2013 at 6:35

1 Answer 1

2

First you extract that file(JLayer1.0.1.zip) after you extracted it then open that folder and you will find "jl1.0.1.jar" this is the actual jar file you want.

add this jl1.0.1.jar file in the project library or classpath

Sign up to request clarification or add additional context in comments.

1 Comment

"+1" for getting what was the problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.