DEV Community

Rae Liu
Rae Liu

Posted on

1 1

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.

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay