The SM_JAVAHOME environment variable is used in conjunction with SM_JAVA to specify a non-standard JRE. It specifies the location of the JRE, and defines the value of the JVM's "java.home" system property.

  • If SM_JAVAHOME is left unset and SM_JDK_HOME was specified, then SM_JAVAHOME will effectively be set to SM_JDK_HOME/jre.

  • If left unset and SM_JDK_HOME is also unset, and if the BASEDIR/jre directory exists, then SM_JAVAHOME will effectively be set to BASEDIR/jre.