

As far as I remember, these two are the only tricky ones. The reason why it appears in the System.getenv() map is because it is specifically added there by the "native" code (I placed "native" in quotes because JDK 1.5 for OS/2 is only available as an Odin-based port where Odin is a Win32 emulation layer similar to Wine so this comes from its GetEnvironmentStrings() implementation AFAIR).Īnd there is another similar environment variable, ENDLIBPATH. Note also that this variable is not present in the LIBC's environ array on OS/2 (which means it's not part of the process environment at all and cannot be acessed with getenv()/setenv(), there is a special Dos* API for that). Note that BEGINLIBPATH is not a real environment variable to the effect that it is not listed by the 'cmd /c set' command although it can be changed using the 'cmd /c set BEGINLIBPATH=' command like any other environment variable. Only in 1.8.1: BEGINLIBPATH=D:\DEV\JAVA150\JRE\BIN

Here is the result of the ant-env.jar invocation on OS/2, as requested by Stefan Bodewig: On Windows however I have a PROMPT variable: I have PS1 and PS2 (not sure if they are linked): My cygwin version is, and I have no PROMPT env variable. I tested also from cygwin using the ibm jvm 1.5 and the sun jvm 1.6 and got the same result than with the sun jvm 1.5:ĭetected OS_VERSION: 5.1 build 2600 service pack 2 Only in 1.8.2: =C:=C:\Documents and Settings\gscokart I got an other difference when launched from cygwin :Ī PROMPT variable is not returned anymore in 1.8.2.ĭetected Java Vendor: Sun Microsystems Inc.ĭetected Java VM Name: Java HotSpot(TM) Client VM
