DEV Community

Rae Liu
Rae Liu

Posted on

Change Java_Home Path and restart Solr

It happens quite often in Windows - when JAVA has been updated, but it doesn't update Java_Home path. It crushed my Solr everytime...

  1. Go to edit the system environment variables => Environment Variables.

Note: my edit button was grayed out when I directly went to Environment Variables

Alt Text

  1. Change the Java_Home Path to a create one.

  2. Restart computer

  3. Check https://localhost:8985/solr. It should work now.

Discussion (0)