T
Tim Frink
Hi,
I've a Java application that allows to perform a Linux system via
Runtime.exec( string ) [the string must be defined within the GUI].
My problem is that during the syscall the Linux environment is unknown,
i.e. information from ~/.bashrc ... are missing. I'm running the
application via "java -jar APP.jar" and am using
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode)
Do you know a way to provide "java" with my Linux environment
or to perform the "exec"-invocation with known Linux environment?
Regards,
Tim
I've a Java application that allows to perform a Linux system via
Runtime.exec( string ) [the string must be defined within the GUI].
My problem is that during the syscall the Linux environment is unknown,
i.e. information from ~/.bashrc ... are missing. I'm running the
application via "java -jar APP.jar" and am using
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode)
Do you know a way to provide "java" with my Linux environment
or to perform the "exec"-invocation with known Linux environment?
Regards,
Tim