How can I run solr on a windows server, so it starts up automatically?
I run it with:
java -jar start.jar
but I need the server to do this automatically.
How can I run solr on a windows server, so it starts up automatically?
I run it with:
java -jar start.jar
but I need the server to do this automatically.
Create a batch file with the command you need and run it on startup: some of these ideas might be of use.
If you ran solr inside tomcat, you could start tomcat as a windows service and set the service to start automatically.
The Scheduled Tasks feature in Windows Server will let you configure your command to be executed at startup, without the use of a batch file.