Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
5.3.1
-
None
-
Windows
Description
The windows start script (bin/solr.cmd) changes the current directory to the SOLR_SERVER_DIR before executing "java -jar start.jar":
cd "%SOLR_SERVER_DIR%"
If the solr.cmd script is executed from a different drive, the "cd" doesn't really change the directory and the java process doesn't start ("Unable to access jarfile start.jar")
It should be replaced by the following line in order to work from any location:
cd /d "%SOLR_SERVER_DIR%"