$ sh solr.shWhen the editor opens, set SOLR_JAVA_HOME="/usr/local/jdk-21.0.1"
To save, Press ctrl + x , y,
If using Ubuntu/WSL2, you can kill ports if needed like this ($PORT is the port number if known):
$> lsof -ti :$PORTthen...
$> kill $(lsof -ti :$PORT)or if parse SIGKILL in some cases (big hammer solution):
$> kill -9 $(lsof -ti :$PORT)Issues: Currently not working on either Ubuntu remote server nor WSL2. Cause unknown. Server starts okay but doesn't connect via browser. Might be JAVA 21 version issue?