The SM_JAVA environment variable specifies a Java Runtime Environment (JRE) other than that in BASEDIR/smarts/jre. The contents are the paths to the libraries of the JRE. On UNIX, the value of SM_JAVA is added to the LD_LIBRARY_PATH (Solaris and Linux).
This variable is optional. If left unset, runcmd will assume standard paths relative to the value of SM_JAVAHOME.