简体   繁体   中英

SLES Apache Solr start.jar, Unable to access jarfile

I'm having some problems with starting the Apache Solr Search.

After installing java 7 on my SLES 11 64 Bit Server, I unpacked solr 3.6.1 to /srv/apache-solr-3.6.0/

After this i wanted to start the software, but when i tried:

java -jar start.jar

the subfolder: /srv/apache-solr-3.6.0/solr/example/

I recieve the following error:

Error: Unable to access jarfile start.jar

? :-/

您可能下载了不包含 start.jar 文件的源版本,试试这个: http : //apache.mirrors.tds.net/lucene/solr/3.6.0/apache-solr-3.6.0。 tgz

This file is in server folder in solr-5.3.1 so if you want to run the start.jar the following steps are required:

  1. Open Command Prompt from that directory where you extract the zip file

  2. Go to you solr-5.3.1 directory.

  3. Open bin folder

  4. Type solr start -e cloud noprompt

I just removed solr9.0 and added solr8.7 and removed solr from path in environment variables, added java to path and JAVA_HOME variable

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM