Skip to content
Advertisement

Tag: wso2

How to resolve Error: JAVA_HOME is not defined correctly

I have a wso2 identity server and I am trying to restart it on putty, however when I navigate into the bin folder by typing the command cd /usr/lib64/wso2/wso2is/5.11.0/bin and then type sh wso2server.sh to start the server I get the following error: Error: JAVA_HOME is not defined correctly. CARBON cannot execute /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64/bin/java My error logs also say ” Halting

Advertisement