Apache tomcat 10 not detecting JAVA_HOME

Hi

I have configured apache tomcat 10 via pkg and it works fine except the Java version is not correct despite me adding eh java home variable in the setenv.sh file in the bin directory as follows:

export JAVA_HOME="/usr/local/openjdk21"

I have also set it in rc.conf but still no luck unclear what the issue could be
 
Back
Top