Hello all I use GCJ 4.2.0 (20060630) on linux and windows. Runtime.exec(String[] cmdarray, String[] envp) doesn't set the environment on windows but it works on linux. This can be reproduced with the attached files (both compiled to executables and CreateEnv calling PrintEnv). Is this a known bug/problem? I didn't find anything on the gcc bugzilla and the only thing google pointed out was something from ranjit (http://www.advogato.org/person/rmathew/diary.html?start=97) what isn't a problem in this case... Shall I make a bug report? Has anyone an idea for a workaround? Sorry for posting to this list instead of directly making bugreports. I hope that someone who reads it has an idea while the [win32] bugreports will more or less be ignored because of the lack of windows maintainers... Marco -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: PrintEnv.java URL: <http://gcc.gnu.org/pipermail/java/attachments/20060917/a4df17a1/attachment.ksh> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: CreateEnv.java URL: <http://gcc.gnu.org/pipermail/java/attachments/20060917/a4df17a1/attachment-0001.ksh>