Setting environment variables from java
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
.
Relevant Pages
- Setting environment variables from java
... Under linux, I have java code that runs a c executable using ... and non of the above seem to do the trick.. ... any hints? ... (comp.lang.java.programmer) - Setting environment variables from java
... Under linux, I have java code that runs a c executable using ... and non of the above seem to do the trick.. ... any hints? ... (comp.lang.java.programmer) - Re: double-word-cas on x86-64
... Trick is Windows specific, I am not sure whether it is portable to ... Linux, my Linux folks say nothing definite... ... Reserve big memory region in address space of a process. ... Use as pointer only low 32 bits address, ... (comp.programming.threads) - RE: to hide file
... > The trick with mountpoint works in Linux. ... > you the exact equivalent of hidden files as they usually exist in DOS ... (RedHat) - Re: I cant find eth0 (or dont know how to look)
... >> ifconfig (coupled with downloading an ip scanner to see ... >> what was what) turned out to do the trick. ... Linux is intelligent to know that if you are refering to y ourself you do ... >> I got LAN access only), ... (comp.os.linux.networking) |
|