Hi, SolrJ is a client library that helps your application talk to Solr. It's not a full application that can be run on its own. So the error message you got is correct. It's not a standalone application. For more information on using SolrJ, see the documentation here: https://lucene.apache.org/solr/guide/6_6/using-solrj.html .
If you can be a little more explicit on what you're trying to accomplish, maybe someone here can help you further as well. Best, Jason On Mon, Nov 12, 2018 at 12:37 AM Harshit Arora <harshitarora...@gmail.com> wrote: > > Hi, > > i am currently using Apache Solr 6. i tried to launch SolrJ6 jar file in > eclipse oxygen by building a path and running it on jetty server but it > said selection does not contain main type. i also tried running java -jar > solr-solr-6.0.0.jar but it also said selection does not contaon main type. > Please let me know about correct procedure if what i am doing is wrong. > thanks.