Search code examples
javasolrlucene

Installing Solr on Windows 10


Hi I'm a fairly new programmer whos trying to install Solr on Windows 10 i download Solr from http://mirror.fibergrid.in/apache/lucene/solr/6.2.1

The only two requirements are a Solr release and Java 1.8 or later. I have installed Solr, and also verified my java -version to see what my java version is, which is 1.8.0_60. I have went to the solr/solr/example folder, which looks fine. Then I use java -jar start.jar I am facing below issue:

Unable to access jarfile start.jar

Why is this doing this? My java version is as up to date as it says it should be?


Solution

  • I will explain the approach on Widows 10 for solr-6.2.1:

    Navigate to the solr-6.2.1 file and see whether you have below contents?

    C:\Users\userName\Downloads\solr-6.2.1\solr-6.2.1\bin>ls
    init.d                   oom_solr.sh  solr      solr.in.cmd
    install_solr_service.sh  post         solr.cmd  solr.in.sh
    

    Once you see solr you can smile :) and try this!!

    C:\Users\Shivasai\Downloads\solr-6.2.1\solr-6.2.1\bin>solr start
    Waiting up to 30 to see Solr running on port 8983
    Started Solr server on port 8983. Happy searching!
    

    After this you just have to access solr in bowser by localhost://8983