im trying to install Solr PHP for Global Search via SSH
im using the lines provided by Moodle: https://docs.moodle.org/32/en/Global_search
but when im running this line: ./install_solr_service.sh solr-6.1.0.tgz
i keep getting an error:
The currently defined JAVA_HOME (/usr/local/jdk) refers
to a location where Java could not be found. Aborting.
Either fix the JAVA_HOME variable or remove it from the
environment so that the system PATH will be searched.
but JAVA_HOME refers to: /opt/java/jdk1.8.0_45/
i cant find any solutio for this