I'm trying to use Java Language Support tools. So I've created a project and could run it but I also need to reference the external library. So there is a jar file which I tried to add through: References -> Add Reference...
The code is listed below. This way the project can't be built.
package pkg;
import org.apache.lucene.search.similarities.BM25Similarity;
public class MySimilarity extends BM25Similarity {
}
Any help on adding the library to the project is appreciated.