Tigase and JAVA_HOME

Diego Barrera
Added almost 5 years ago

After successfully compiling Tigase I try to execute it but Tigase complains about JAVA_HOME:

~/git/tigase-server $ ./scripts/ start etc/tigase.conf
JAVA_HOME is not set.
Please set it to correct value before starting the sever.

However, I believe my JAVA_HOME is properly set because running echo $JAVA_HOME returns:

~/git/tigase-server $ echo $JAVA_HOME

My /etc/environment is like this:

export JAVA_HOME

Any idea what is wrong? Do I need a specific version of JDK? OpenJDK instead of Oracle maybe? Thank you.

Replies (2)

Added by Wojciech Kapcia TigaseTeam almost 5 years ago

Have you configured JAVA_HOME in @etc/tigase.conf@?

Added by Diego Barrera almost 5 years ago

No I didn't, thanks a lot that solved it.