Hardcoding paths in the uc4.smd file

Discussion created by laura_albrecht_automic on May 11, 2016
Hi.  Has anyone been successful in using variables in setting some of the information in the uc4.smd file?  

Currently, my uc4.smd file has the location of JAVA hard coded for the SQL agents.  

DEFINE SQL SQL_SERVICE;/usr/java_jre8/jre1.8.0_73/bin/java -jar -Xrs -Xmx256M *OWN/../../agent/sql_service/bin/ucxjsqlx.jar -service -i/u02/automic/automationengine/bin/ucsrv.ini;*OWN/../../agent/sql_service/bin

I had tried having it use variables I had set in the .profile, but it didn't like that so I went back to hard coding it.  Just wondering if there's a way to get around this.  I'm on UNIX (Solaris).