How to add third party package in eclipse java
I am trying to write a java program in Eclipse editor. For this reason i want to add kfka third party library. I add this line in top of the program
Hide Copy Code
import kafka.javaapi.producer.Producer;
but it giving me error.
“The import kafka cannot be resolved. “.
I am new to java and eclipse, searching for the solution from last 1 day.
What I have tried:
I downloaded Jar file from here, and added it to Project using
Properties -> Java Build Path -> Add External Jar
But still getting the same error.