Hi Udara, Yes, it works for our purposes. But if an application relies on "JAVA_HOME/bin" being in the PATH, it will fail. This is not a concern for running Puppet modules we have for now but could be a problem in the future.
On Fri, Apr 11, 2014 at 10:40 AM, Udara Liyanage <[email protected]> wrote: > JAVA is required to run cartridge agent, setting only the JAVA_HOME should > work. > > > > On Fri, Apr 11, 2014 at 4:42 AM, Akila Ravihansa Perera < > [email protected]> wrote: > >> Hi, >> >> Puppet master Java module does not add $JAVA_HOME/bin to PATH when >> applied to a cartridge. >> But it will work with applications that use JAVA_HOME variable, but will >> fail in some cases. >> >> Is there a reason for not to copy this to PATH? Or shall I work on a >> patch to configure this properly? >> > > > > -- > > Udara Liyanage > Software Engineer > WSO2, Inc.: http://wso2.com > lean. enterprise. middleware > > web: http://udaraliyanage.wordpress.com > phone: +94 71 443 6897 > -- Akila Ravihansa Perera Software Engineer WSO2 Inc. http://wso2.com Phone: +94 77 64 154 38 Blog: http://ravihansa3000.blogspot.com
