|
From: Leif M. <le...@ta...> - 2003-05-26 13:02:17
|
Mat,
You can set any environment variable from within the wrapper.conf
file by
creating a property with the following syntax:
set.PATH=...your path...
See the following page for more details.
http://wrapper.tanukisoftware.org/doc/english/props-envvars.html
What are you trying to do though? The JVM is not able to access
environment variables directly. You normally pass environment data to
a JVM by defining properties on the Java command line:
java -Dpath=%PATH% ...
If your JVM is spawning other processes, then they would have access
to the environment variables set in the wrapper.conf file.
If you find the product and support useful, please think about
supporting
the project: http://wrapper.tanukisoftware.org/doc/english/donate.html
Cheers,
Leif
M. Leinmueller wrote:
> Hi,
>
> is it possible to set the environment PATH variable (win32) used by
> the JVM for a WrapperSimpleApp?
> E. g. in my batch file I set PATH="%PATH%;..\lib", how can I do this
> with Java Service Wrapper?
>
> Thanks in advance.
>
> Mat
|