How to Set JAVA_HOME / PATH variables Under Linux Bash Profile
If the command echo $JAVA_HOME returns no result ,
it means that JAVA has no HOME and could not work properly
in Palo OLAP Server with embedded Tomcat .
The following command shows the path to java executable on Linux :
# which java
WHICH command result on Ubuntu , Mint :
/usr/bin/java
after EXPORT command :
export JAVA_HOME=/usr/bin/java
if we check again , JAVA has a HOME
# echo $JAVA_HOME
/usr/bin/java
if I'm running again the script setclasspath.sh from
/opt/jedox/ps/tomcat/bin
the result is :
The BASEDIR environment variable is not defined
This environment variable is needed to run this program
Tomcat & catalina issues
The error message says you have to set the environment variable BASEDIR.
Set it to the Tomcat installation directory, for example:
export BASEDIR=/usr/local/tomcat
echo $BASEDIR
/usr/local/tomcat
Tomcat & catalina issues
The error message says you have to set the environment variable BASEDIR.
Set it to the Tomcat installation directory, for example:
export BASEDIR=/usr/local/tomcat
echo $BASEDIR
/usr/local/tomcat