External jar is not imported into Eclipse Project
I want to parse JSON and for this I have downloaded the java-json.jar file from this URL. I added this to the build path
- Right click on the project
- Build Path -> Configure Build Path -> Add External Jars.
- Chose a jar and it is displayed in the "Linked Libraries"
But import org.json.JSONArray gives me an error. Also when I stop at org. this gives me some suggestions that don't include json.
What should I do to successfully import the json package?
+3
source to share