Hi awanthika, check this out http://stackoverflow.com/questions/1462069/passing-environment-variables-to-a-jvm-in-a-platform-independent-manner
On Tue, Mar 17, 2015 at 9:38 AM, Awanthika Senarath <[email protected]> wrote: > Hi, > > Im trying to achieve $subject to pass the $CATALINA_HOME environment > variable into a java class via a json object to a java class > > when i try to pass the parameter as this > > "location": > "${CATALINA_BASE}/temp/che-templates/web-spring-java-simple.zip" > the catalina_base/catalina_homa parameter is not recognized as a > dynamic value at the java class. It will print an IOException saying > > java.io.IOException: Can't > find ${CATALINA_BASE}/temp/che-templates/web-spring-java-simple.zip > > Appreciate help on resolving this. > > > regards > > -- > Awanthika Senarath > Software Engineer, WSO2 Inc. > Mobile: +94717681791 > > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Lasitha Wattaladeniya Software Engineer WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94719397528 Blog : techreadme.blogspot.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
