Setting environment variables from java
- From: Karim <karim.elsaid@xxxxxxxxx>
- Date: 31 May 2007 07:35:58 -0700
Hi,
Under linux, I have java code that runs a c executable using
Runtime.getRuntime().exec()
Before running that I have to set the LD_LIBRARY_PATH system
variable..
I tried Runtime.getRuntime().exec("setenv ....")
Runtime.getRuntime().exec("export ... ")
and I also tried System.setProperty();
and non of the above seem to do the trick..
any hints?
Thanks
.
- Follow-Ups:
- Re: Setting environment variables from java
- From: Robert Klemme
- Re: Setting environment variables from java
- Prev by Date: Setting environment variables from java
- Next by Date: Re: buggy regexp
- Previous by thread: Setting environment variables from java
- Next by thread: Re: Setting environment variables from java
- Index(es):
Relevant Pages
|