|
From: Leif M. <lei...@ta...> - 2008-11-21 00:52:42
|
Anand, The Wrapper has the ability to set arbitrary environment variables from within the wrapper.conf file. See the following page for details: http://wrapper.tanukisoftware.org/doc/english/props-envvars.html You would add something like following to your wrapper.conf anywhere BEFORE the JAVA_HOME variable needs to be referenced: set.JAVA_HOME=C:/Sun/jdk1.4 Let me know if you have any questions getting it working. Cheers, Leif On Fri, Nov 21, 2008 at 5:52 AM, Anand HS <an...@gm...> wrote: > Hello, > I have gone through the wrapper documentaiton, but was not able to find the > answer to a question of mine. > For my application, I am setting > wrapper.java.command to point to my java.exe as needed. > > My question is, is this information suffficient for the wrapper to figure > out the values of JAVA_HOME and JRE_HOME values. ? > I know i can possibly point to the Java_home in the registry, but I cant do > that unfortunately as it is being set in my application through a separate > batch file. > > The system on which installation is being done has multiple versions of java > in it and I have to be able to specify the correct version of JAVA and JRE > to use for my application. > Is there any way to do it in the wrapper.conf file. ? > > Any pointers to it are most welcome, as it is urgently needed. > > Thank you, > Anand -- Leif Mortenson President Tanuki Software, Ltd. 6-16-7-1001 Nishi-Kasai, Edogawa-ku Tokyo 134-0088 Japan Tel/Fax: +81-3-3878-0415 http://www.tanukisoftware.com lei...@ta... |